derive copy/clone
This commit is contained in:
parent
9a8f206662
commit
6445a5d79d
@ -126,6 +126,7 @@ fn build_suggestion<'a, 'tcx>(
|
||||
Some(format!("{}.{}({})", receiver, method.suggestion(), cast_lhs))
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
enum Method {
|
||||
Offset,
|
||||
WrappingOffset,
|
||||
|
Loading…
Reference in New Issue
Block a user