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