Auto merge of #3253 - matthiaskrgr:noclone, r=RalfJung

remove redundant clone
This commit is contained in:
bors 2024-01-05 20:55:11 +00:00
commit d334a4bccf

View file

@ -612,7 +612,7 @@ impl<'tcx> Tree {
is_foreign: rel_pos.is_foreign(),
access_cause,
access_range,
transition_range: perms_range.clone(),
transition_range: perms_range,
span,
});
}