]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui/zero_div_zero.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / tools / clippy / tests / ui / zero_div_zero.rs
index 09db130a764315b5c2227c928d5c637cdbef6a71..ed3a9208fc3f07d785898eda4a461cf6c1a7e7a0 100644 (file)
@@ -7,7 +7,7 @@ fn main() {
     let one_more_f64_nan = 0.0f64 / 0.0f64;
     let zero = 0.0;
     let other_zero = 0.0;
-    let other_nan = zero / other_zero; // fine - this lint doesn't propegate constants.
+    let other_nan = zero / other_zero; // fine - this lint doesn't propagate constants.
     let not_nan = 2.0 / 0.0; // not an error: 2/0 = inf
     let also_not_nan = 0.0 / 2.0; // not an error: 0/2 = 0
 }