diff options
author | Horki <ivanzvonimirhorvat@gmail.com> | 2020-10-08 13:40:47 +0200 |
---|---|---|
committer | Horki <ivanzvonimirhorvat@gmail.com> | 2020-10-08 13:40:47 +0200 |
commit | eaef251b2ba416fcde8f0f0b72ce68c548ce35c3 (patch) | |
tree | d10c06c43497d163a51e60a1ba73ef84d6a09192 /nix-rust/src/util | |
parent | 54f4500457f1849163d3f7d82228a50e5c372316 (diff) |
rust: small patches
Diffstat (limited to 'nix-rust/src/util')
-rw-r--r-- | nix-rust/src/util/base32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-rust/src/util/base32.rs b/nix-rust/src/util/base32.rs index efd4a2901..7e71dc920 100644 --- a/nix-rust/src/util/base32.rs +++ b/nix-rust/src/util/base32.rs @@ -13,7 +13,7 @@ pub fn decoded_len(input_len: usize) -> usize { input_len * 5 / 8 } -static BASE32_CHARS: &'static [u8; 32] = &b"0123456789abcdfghijklmnpqrsvwxyz"; +static BASE32_CHARS: &[u8; 32] = &b"0123456789abcdfghijklmnpqrsvwxyz"; lazy_static! { static ref BASE32_CHARS_REVERSE: Box<[u8; 256]> = { |