Suggest removing &mut from borrow of &mut
Fix a typo: minding -> binding Add test for &mut &mut
This commit is contained in:
parent
382848989f
commit
ab226bda9a
4 changed files with 60 additions and 46 deletions
|
@ -813,7 +813,7 @@ pub struct BlockTailInfo {
|
|||
/// argument, or the return place.
|
||||
#[derive(Clone, Debug, TyEncodable, TyDecodable, HashStable, TypeFoldable)]
|
||||
pub struct LocalDecl<'tcx> {
|
||||
/// Whether this is a mutable minding (i.e., `let x` or `let mut x`).
|
||||
/// Whether this is a mutable binding (i.e., `let x` or `let mut x`).
|
||||
///
|
||||
/// Temporaries and the return place are always mutable.
|
||||
pub mutability: Mutability,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue