Remove clone
This commit is contained in:
parent
5b2f757dae
commit
459c9108e4
@ -625,7 +625,7 @@ fn visit_scalar(
|
||||
return Ok(());
|
||||
}
|
||||
// At least one value is excluded.
|
||||
let valid_range = scalar_layout.valid_range.clone();
|
||||
let valid_range = scalar_layout.valid_range;
|
||||
let WrappingRange { start, end } = valid_range;
|
||||
let max_value = u128::MAX >> (128 - op.layout.size.bits());
|
||||
assert!(end <= max_value);
|
||||
|
Loading…
Reference in New Issue
Block a user