Skip to content

Commit

Permalink
fix up unused wrappingn_add in compile-pass test
Browse files Browse the repository at this point in the history
  • Loading branch information
KodrAus committed Apr 10, 2019
1 parent 53d2473 commit 23154db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fn expect_free_supply_free<'x>(x: &'x u32) {
x.push(22_u32);

// ...since we now know the type of `y` and can resolve the method call.
y.wrapping_add(1);
let _ = y.wrapping_add(1);
});
}

Expand Down

0 comments on commit 23154db

Please sign in to comment.