Skip to content

Commit

Permalink
Rename static_mut_refs
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Feb 24, 2024
1 parent 91dbca4 commit 795fda3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rust-2024/static-mut-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

## Summary

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

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

## Details

Expand Down

0 comments on commit 795fda3

Please sign in to comment.