s/mt/mutability/

This commit is contained in:
Oli Scherer 2024-03-11 17:33:57 +00:00
parent 013bf92dcc
commit 97f2ade8e6

View File

@ -109,7 +109,7 @@ fn collect_unsafe_exprs<'tcx>(
ExprKind::Path(QPath::Resolved(
_,
hir::Path {
res: Res::Def(DefKind::Static{mt:Mutability::Mut, ..}, _),
res: Res::Def(DefKind::Static{mutability:Mutability::Mut, ..}, _),
..
},
)) => {
@ -149,7 +149,7 @@ fn collect_unsafe_exprs<'tcx>(
ExprKind::Path(QPath::Resolved(
_,
hir::Path {
res: Res::Def(DefKind::Static{mt:Mutability::Mut, ..}, _),
res: Res::Def(DefKind::Static{mutability:Mutability::Mut, ..}, _),
..
}
))