File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ use std::fmt;
15
15
use rand_core:: { RngCore , Error , impls} ;
16
16
17
17
/// 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` .
21
21
///
22
22
/// You may prefer to use [`EntropyRng`] instead of `OsRng`. Is is unlikely, but
23
23
/// not entirely theoretical, for `OsRng` to fail. In such cases `EntropyRng`
You can’t perform that action at this time.
0 commit comments