fix clippy::{clone_on_copy, useless_conversion}
This commit is contained in:
parent
d666f6bf22
commit
bcd79c222a
3 changed files with 4 additions and 5 deletions
|
@ -528,7 +528,7 @@ impl<'cx, 'tcx> BorrowckInferCtxt<'cx, 'tcx> {
|
|||
where
|
||||
F: Fn() -> RegionCtxt,
|
||||
{
|
||||
let next_region = self.infcx.next_nll_region_var(origin.clone());
|
||||
let next_region = self.infcx.next_nll_region_var(origin);
|
||||
let vid = next_region.as_var();
|
||||
|
||||
if cfg!(debug_assertions) && !self.inside_canonicalization_ctxt() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue