diff --git a/CHANGELOG.md b/CHANGELOG.md index b519d4836d6..103abea7a31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,7 +40,7 @@ when updating from `rand 0.7.0` without also updating `rand_core`. - Fix or squelch issues from Clippy lints (#840) ### Additions -- Add a `no_std` target to CI to continously evaluate `no_std` status (#844) +- Add a `no_std` target to CI to continuously evaluate `no_std` status (#844) - `WeightedIndex`: allow adjusting a sub-set of weights (#866) ## [0.7.0] - 2019-06-28 @@ -400,7 +400,7 @@ when updating from `rand 0.7.0` without also updating `rand_core`. ## [0.3.14] - 2016-02-13 ### Fixed -- Inline definitions from winapi/advapi32, wich decreases build times +- Inline definitions from winapi/advapi32, which decreases build times ## [0.3.13] - 2016-01-09 diff --git a/SECURITY.md b/SECURITY.md index daedb78f0d3..3afd0034921 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -32,7 +32,7 @@ we provide limited mitigations against side-channel attacks: Additionally, derivations from such an RNG (including the `Rng` trait, implementations of the `Distribution` trait, and `seq` algorithms) should not -introduce signficant bias other than that expected from the operation in +introduce significant bias other than that expected from the operation in question (e.g. bias from a weighted distribution). ## Supported Versions diff --git a/rand_core/src/os.rs b/rand_core/src/os.rs index e9c2c0fbc50..dd52f4c7a58 100644 --- a/rand_core/src/os.rs +++ b/rand_core/src/os.rs @@ -11,7 +11,7 @@ use crate::{impls, CryptoRng, Error, RngCore}; use getrandom::getrandom; -/// A random number generator that retrieves randomness from from the +/// A random number generator that retrieves randomness from the /// operating system. /// /// This is a zero-sized struct. It can be freely constructed with `OsRng`. diff --git a/src/distributions/mod.rs b/src/distributions/mod.rs index 4e1b1a6e3a0..e7865c27b90 100644 --- a/src/distributions/mod.rs +++ b/src/distributions/mod.rs @@ -15,7 +15,7 @@ //! of course [`Rng::sample`]. //! //! Abstractly, a [probability distribution] describes the probability of -//! occurance of each value in its sample space. +//! occurrence of each value in its sample space. //! //! More concretely, an implementation of `Distribution` for type `X` is an //! algorithm for choosing values from the sample space (a subset of `T`) diff --git a/src/lib.rs b/src/lib.rs index d42a79fb124..f2ddcc2ffec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,7 +37,7 @@ //! //! # The Book //! -//! For the user guide and futher documentation, please read +//! For the user guide and further documentation, please read //! [The Rust Rand Book](https://rust-random.github.io/book). #![doc(