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 301e0ac commit 8fc5beaCopy full SHA for 8fc5bea
src/day17.rs
@@ -45,6 +45,7 @@ pub fn part1(s: &str) -> &'static str {
45
let mut out_ptr = result_ptr;
46
let result_ptr = result_ptr.cast_const();
47
48
+ std::hint::assert_unchecked(a != 0);
49
while a != 0 {
50
let b = a % 8;
51
let b = b ^ x;
0 commit comments