1
Fork 0

remove redundant clones

This commit is contained in:
Matthias Krüger 2020-12-05 12:59:54 +01:00
parent 0781b4474b
commit 1734f9c291
3 changed files with 3 additions and 3 deletions

View file

@ -505,7 +505,7 @@ impl<'cx, 'tcx> Canonicalizer<'cx, 'tcx> {
let canon_value = Canonical {
max_universe: ty::UniverseIndex::ROOT,
variables: List::empty(),
value: value.clone(),
value,
};
return canon_value;
}