Remove needless returns detected by clippy in the compiler
This commit is contained in:
parent
adf8d168af
commit
0b20ffcb63
38 changed files with 66 additions and 75 deletions
|
@ -779,7 +779,7 @@ impl<'a: 'ast, 'ast, 'tcx> LateResolutionVisitor<'a, '_, 'ast, 'tcx> {
|
|||
candidates = self.smart_resolve_partial_mod_path_errors(path, following_seg);
|
||||
}
|
||||
|
||||
return (false, candidates);
|
||||
(false, candidates)
|
||||
}
|
||||
|
||||
fn suggest_trait_and_bounds(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue