Skip to content

Commit e1eead1

Browse files
authored
Merge pull request #293 from ehuss/fix-static-link
Rename static_mut_refs
2 parents 91dbca4 + 795fda3 commit e1eead1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust-2024/static-mut-reference.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
## Summary
66

7-
- The [`static_mut_ref`] lint is now a hard error that cannot be disabled.
7+
- The [`static_mut_refs`] lint is now a hard error that cannot be disabled.
88
This prevents taking a shared or mutable reference to a `static mut`.
99

10-
[`static_mut_ref`]: ../../rustc/lints/listing/warn-by-default.html#static-mut-ref
10+
[`static_mut_refs`]: ../../rustc/lints/listing/warn-by-default.html#static-mut-refs
1111

1212
## Details
1313

0 commit comments

Comments
 (0)