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:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user