mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
Fix typo
Co-authored-by: Guillaume Boisseau <Nadrieril@users.noreply.github.com>
This commit is contained in:
parent
d5d700d5c6
commit
1b2e471b43
@ -1651,7 +1651,7 @@ declare_lint! {
|
||||
/// ### Explanation
|
||||
///
|
||||
/// Without the `mut`, `x` would have type `&u32`. Pre-2024, adding `mut` makes `x` have type
|
||||
/// `u32`, which was deeped surprising. After edition 2024, adding `mut` will not change the
|
||||
/// `u32`, which was deemed surprising. After edition 2024, adding `mut` will not change the
|
||||
/// type of `x`. This lint warns users of editions before 2024 to update their code.
|
||||
pub DEREFERENCING_MUT_BINDING,
|
||||
Allow,
|
||||
|
Loading…
Reference in New Issue
Block a user