Skip to content

Commit

Permalink
Reword first paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
pitdicker committed Mar 26, 2018
1 parent 1bf9b6b commit 54f9413
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ use std::fmt;
use rand_core::{RngCore, Error, impls};

/// A random number generator that retrieves randomness straight from the
/// operating system. This is the preferred external source of randomness for
/// most applications. Commonly it is used to initialize a user-space RNG, which
/// can then be used with much lower overhead.
/// operating system. This is the preferred external source of entropy for most
/// applications. Commonly it is used to initialize a user-space RNG, which can
/// then be used to generate random values with much less overhead than `OsRng`.
///
/// You may prefer to use [`EntropyRng`] instead of `OsRng`. Is is unlikely, but
/// not entirely theoretical, for `OsRng` to fail. In such cases `EntropyRng`
Expand Down

0 comments on commit 54f9413

Please sign in to comment.