diff --git a/src/lib.rs b/src/lib.rs index aa62f95..e83faae 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,7 +55,7 @@ //! //! let mut a: MeanWithError = (1..6).map(Into::into).collect(); //! a.add(42.); -//! println!("The average is {} ± {}.", a.mean(), a.error()); +//! println!("The mean is {} ± {}.", a.mean(), a.error()); //! ``` #![no_std] diff --git a/src/moments/variance.rs b/src/moments/variance.rs index a28eee1..c460b99 100644 --- a/src/moments/variance.rs +++ b/src/moments/variance.rs @@ -10,7 +10,7 @@ /// use average::Variance; /// /// let a: Variance = (1..6).map(Into::into).collect(); -/// println!("The average is {} ± {}.", a.mean(), a.error()); +/// println!("The mean is {} ± {}.", a.mean(), a.error()); /// ``` #[derive(Debug, Clone)] pub struct Variance {