Skip to content

Commit 89f266a

Browse files
committed
Auto merge of rust-lang#6678 - TaKO8Ki:fix-typo, r=flip1995
Fix typo This patch fixes a typo. changelog: none
2 parents 357c6a7 + 67d48e1 commit 89f266a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/zero_div_zero.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn main() {
77
let one_more_f64_nan = 0.0f64 / 0.0f64;
88
let zero = 0.0;
99
let other_zero = 0.0;
10-
let other_nan = zero / other_zero; // fine - this lint doesn't propegate constants.
10+
let other_nan = zero / other_zero; // fine - this lint doesn't propagate constants.
1111
let not_nan = 2.0 / 0.0; // not an error: 2/0 = inf
1212
let also_not_nan = 0.0 / 2.0; // not an error: 0/2 = 0
1313
}

0 commit comments

Comments
 (0)