mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 22:46:29 +03:00
Fix clippy warnings (#3726)
This commit is contained in:
@@ -272,7 +272,7 @@ pub(crate) fn create_id() -> String {
|
||||
rng.fill(&mut arr[..]);
|
||||
|
||||
// Take 11 base64 characters containing 66 random bits.
|
||||
base64::encode_config(&arr, base64::URL_SAFE)
|
||||
base64::encode_config(arr, base64::URL_SAFE)
|
||||
.chars()
|
||||
.take(11)
|
||||
.collect()
|
||||
|
||||
Reference in New Issue
Block a user