Clean up surprising borrow
This commit is contained in:
parent
8850893d96
commit
6f43af26e9
@ -458,8 +458,8 @@ fn create_and_seed_worklist<'tcx>(
|
||||
.map
|
||||
.iter()
|
||||
.filter_map(
|
||||
|(&id, level)| {
|
||||
if level >= &privacy::AccessLevel::Reachable { Some(id) } else { None }
|
||||
|(&id, &level)| {
|
||||
if level >= privacy::AccessLevel::Reachable { Some(id) } else { None }
|
||||
},
|
||||
)
|
||||
.chain(
|
||||
|
Loading…
Reference in New Issue
Block a user