clippy suggestion

This commit is contained in:
Corey Farwell 2018-08-29 08:27:32 -05:00
parent 6445a5d79d
commit 53928d5367

View File

@ -133,7 +133,7 @@ enum Method {
}
impl Method {
fn suggestion(&self) -> &'static str {
fn suggestion(self) -> &'static str {
match *self {
Method::Offset => "add",
Method::WrappingOffset => "wrapping_add",