mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
rust: small patches
This commit is contained in:
parent
54f4500457
commit
eaef251b2b
3 changed files with 19 additions and 19 deletions
|
@ -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]> = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue