Remove needless returns detected by clippy in the compiler

This commit is contained in:
Eduardo Sánchez Muñoz
2024-09-09 12:22:00 +02:00
parent adf8d168af
commit 0b20ffcb63
38 changed files with 66 additions and 75 deletions

View File

@@ -5016,5 +5016,5 @@ fn def_id_matches_path(tcx: TyCtxt<'_>, mut def_id: DefId, expected_path: &[&str
}
def_id = parent;
}
return true;
true
}