We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 505280b commit eec17d2Copy full SHA for eec17d2
tests/ui/implicit_saturating_sub.fixed
@@ -29,8 +29,8 @@ fn main() {
29
// Lint
30
u_16 = u_16.saturating_sub(1);
31
32
- let mut end_32: u32 = 7000;
33
- let mut start_32: u32 = 7010;
+ let mut end_32: u32 = 7010;
+ let mut start_32: u32 = 7000;
34
35
let mut u_32: u32 = end_32 - start_32;
36
tests/ui/implicit_saturating_sub.rs
@@ -35,8 +35,8 @@ fn main() {
u_16 -= 1;
}
37
38
39
40
41
42
0 commit comments