]> git.lizzy.rs Git - rust.git/blobdiff - src/libtest/stats.rs
Various minor/cosmetic improvements to code
[rust.git] / src / libtest / stats.rs
index 9a8749712c355122f874648dc060eec333100920..1fad612b946b456e01e95891ddc534a07d9ce531 100644 (file)
@@ -224,7 +224,7 @@ fn var(&self) -> f64 {
                 let x = *s - mean;
                 v = v + x * x;
             }
-            // NB: this is _supposed to be_ len-1, not len. If you
+            // N.B., this is _supposed to be_ len-1, not len. If you
             // change it back to len, you will be calculating a
             // population variance, not a sample variance.
             let denom = (self.len() - 1) as f64;