Rollup merge of #96026 - matthiaskrgr:clippy_compl_1304, r=Dylan-DPC
couple of clippy::complexity fixes
This commit is contained in:
commit
ba9c3a13ee
16 changed files with 25 additions and 29 deletions
|
@ -191,7 +191,7 @@ impl<'tcx> Ty<'tcx> {
|
|||
tcx: TyCtxt<'tcx>,
|
||||
param_env: ty::ParamEnv<'tcx>,
|
||||
) -> DefIdForest<'tcx> {
|
||||
tcx.type_uninhabited_from(param_env.and(self)).clone()
|
||||
tcx.type_uninhabited_from(param_env.and(self))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue