Rollup merge of #130114 - eduardosm:needless-returns, r=compiler-errors
Remove needless returns detected by clippy in the compiler
This commit is contained in:
commit
a31a8fe0cf
38 changed files with 66 additions and 75 deletions
|
@ -2007,7 +2007,7 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
));
|
||||
}
|
||||
}
|
||||
return None;
|
||||
None
|
||||
}
|
||||
|
||||
/// Checks if the bound region is in Impl Item.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue