derive copy/clone
This commit is contained in:
parent
9a8f206662
commit
6445a5d79d
1 changed files with 1 additions and 0 deletions
|
|
@ -126,6 +126,7 @@ fn build_suggestion<'a, 'tcx>(
|
|||
Some(format!("{}.{}({})", receiver, method.suggestion(), cast_lhs))
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
enum Method {
|
||||
Offset,
|
||||
WrappingOffset,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue