Skip to content

Commit 1563021

Browse files
committed
Fix attempt 10
1 parent e3467db commit 1563021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/x86/sse42.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ fn compare_strings<'mir, 'tcx: 'mir>(
317317

318318
let ch2 = this.read_scalar(&this.project_index(str2, i)?)?;
319319
let ch2 = if use_x16 { ch2.to_u16()? } else { u16::from(ch2.to_u8()?) };
320-
result |= (i32::from(ch1 == ch2)) << i;
320+
result |= i32::from(ch1 == ch2) << i;
321321
}
322322
}
323323
3 => {

0 commit comments

Comments
 (0)