1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-27 10:39:03 +02:00

updated deps

This commit is contained in:
dowwie
2019-07-08 14:49:34 -04:00
parent 60f28d65f1
commit 06ce468ee0
2 changed files with 18 additions and 18 deletions

View File

@ -275,9 +275,8 @@ impl Inner {
let (value, jar) = if let Some(value) = value {
(value.clone(), None)
} else {
let mut rng = OsRng::new().unwrap();
let value: String = iter::repeat(())
.map(|()| rng.sample(Alphanumeric))
.map(|()| OsRng.sample(Alphanumeric))
.take(32)
.collect();