Skip to content

Commit

Permalink
Fix import for Rust 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed May 9, 2018
1 parent 6db4a61 commit 5b646ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,8 @@ pub trait FromEntropy: SeedableRng {
/// errors, use the following code, equivalent aside from error handling:
///
/// ```rust
/// use rand::{Error, prelude::*};
/// # use rand::Error;
/// use rand::prelude::*;
/// use rand::entropy::EntropyRng;;
///
/// # fn try_inner() -> Result<(), Error> {
Expand Down

0 comments on commit 5b646ce

Please sign in to comment.