rename BorrowKind::Shallow to Fake
also adds some comments
This commit is contained in:
@@ -201,7 +201,7 @@ impl DefUse {
|
||||
| NonMutatingUseContext::Inspect
|
||||
| NonMutatingUseContext::Move
|
||||
| NonMutatingUseContext::PlaceMention
|
||||
| NonMutatingUseContext::ShallowBorrow
|
||||
| NonMutatingUseContext::FakeBorrow
|
||||
| NonMutatingUseContext::SharedBorrow,
|
||||
) => Some(DefUse::Use),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user