Skip to content

Commit

Permalink
Update clippy_lints/src/static_mut.rs
Browse files Browse the repository at this point in the history
Co-authored-by: llogiq <[email protected]>
  • Loading branch information
lolbinarycat and llogiq authored Jun 9, 2024
1 parent 7efdadb commit cf34ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/static_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ impl EarlyLintPass for StaticMut {
"declaration of static mut",
None,
"remove the `mut` and use a type with interior mutibability that implements `Sync`, such as `std::sync::Mutex`",
)
);
}
}

0 comments on commit cf34ad9

Please sign in to comment.