Skip to content

Commit 2bf4074

Browse files
committed
Reword first paragraph
1 parent d0f8ee0 commit 2bf4074

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/os.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ use std::fmt;
1515
use rand_core::{RngCore, Error, impls};
1616

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

0 commit comments

Comments
 (0)