Clean up unneeded '&'s.
This commit is contained in:
@@ -96,7 +96,7 @@ impl SubTest for TestDomtree {
|
||||
// Now we know that everything in `expected` is consistent with `domtree`.
|
||||
// All other EBB's should be either unreachable or the entry block.
|
||||
for ebb in func.layout.ebbs().skip(1).filter(
|
||||
|ebb| !expected.contains_key(&ebb),
|
||||
|ebb| !expected.contains_key(ebb),
|
||||
)
|
||||
{
|
||||
if let Some(got_inst) = domtree.idom(ebb) {
|
||||
|
||||
Reference in New Issue
Block a user