Skip to content

Commit

Permalink
update rand to 0.5.x
Browse files Browse the repository at this point in the history
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
  • Loading branch information
kinggoesgaming committed Jun 12, 2018
1 parent ea8ee64 commit 0e7e0ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ version = "0.3"

[dependencies.rand]
optional = true
version = "0.4"
version = "0.5"

[dependencies.serde]
default-features = false
Expand Down
2 changes: 1 addition & 1 deletion src/v4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl Uuid {
/// [`rand`]: https://crates.io/crates/rand
/// [`Uuid`]: ../struct.Uuid.html
pub fn new_v4() -> Self {
use rand::Rng;
use rand::RngCore;

let mut rng = rand::thread_rng();
let mut bytes = [0; 16];
Expand Down

0 comments on commit 0e7e0ce

Please sign in to comment.