Skip to content

Commit

Permalink
Minor doc adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Jan 8, 2018
1 parent cff8e09 commit 8ec3e5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,11 @@ pub trait Rng {
///
/// This is the only method which allows an RNG to report errors while
/// generating random data; other methods either handle the error
/// internally or panic. This method is intended to allow error-handling
/// when seeding keys or PRNGs from external (true) RNGs.
/// internally or panic. This method is
/// the intended way to use external (true) RNGs, like `OsRng`. Its main
/// use-cases are to generate keys and to seed (infallible) PRNGs.
///
/// Other than error handling, this is identical to [`fill`], and
/// Other than error handling, this method is identical to [`fill`], and
/// has a default implementation simply wrapping [`fill`].
///
/// [`fill`]: trait.Rng.html#method.fill
Expand Down

0 comments on commit 8ec3e5a

Please sign in to comment.