Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed Apr 29, 2020
1 parent 9a3b0a0 commit cd34809
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/ui/implicit_saturating_sub.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ fn main() {
_ => u_8 = 0,
}

let end_16: u16 = 35;
let start_16: u16 = 40;
let end_16: u16 = 40;
let start_16: u16 = 35;

let mut u_16: u16 = end_16 - start_16;

Expand Down
4 changes: 2 additions & 2 deletions tests/ui/implicit_saturating_sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ fn main() {
_ => u_8 = 0,
}

let end_16: u16 = 35;
let start_16: u16 = 40;
let end_16: u16 = 40;
let start_16: u16 = 35;

let mut u_16: u16 = end_16 - start_16;

Expand Down

0 comments on commit cd34809

Please sign in to comment.