remove redundant clones
This commit is contained in:
parent
0781b4474b
commit
1734f9c291
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue