Skip to content

Commit b6eec22

Browse files
golddranksbluss
andauthored
Fix typo in src/libcore/num/f32.rs
Co-authored-by: bluss <[email protected]>
1 parent 68bab3e commit b6eec22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/num/f32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ impl f32 {
874874
// flip the exponent and mantissa bits in case of negative numbers.
875875
// We effectively convert the numbers to "two's complement" form.
876876
if left < 0 {
877-
// i32::MAX corresponds the bit pattern of "all ones expect for the sign bit"
877+
// i32::MAX corresponds the bit pattern of "all ones except for the sign bit"
878878
left ^= i32::MAX
879879
};
880880
if right < 0 {

0 commit comments

Comments
 (0)