Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
W95Psp committed May 2, 2024
1 parent 4fc4a5c commit 1ce7d17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hax-bounded-integers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ const _: () = {
fn tests() {
use hax_lib::*;

let x: BoundedU8<0, 5> = 2.refine();
let y: BoundedU8<5, 10> = (x + x).refine();
let x: BoundedU8<0, 5> = 2.check();
let y: BoundedU8<5, 10> = (x + x).check();

let _ = x >> 3;
let _ = x >> BoundedU8::<0, 5>::new(3);
Expand Down

0 comments on commit 1ce7d17

Please sign in to comment.