derive copy/clone

This commit is contained in:
Corey Farwell 2018-08-29 08:01:05 -05:00
parent 9a8f206662
commit 6445a5d79d

View File

@ -126,6 +126,7 @@ fn build_suggestion<'a, 'tcx>(
Some(format!("{}.{}({})", receiver, method.suggestion(), cast_lhs))
}
#[derive(Copy, Clone)]
enum Method {
Offset,
WrappingOffset,