diff options
author | Florian Klink <flokli@flokli.de> | 2023-02-01T10·12+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-02-01T13·38+0000 |
commit | 894d17b29b23cc45cfd408e693923a7af3d4390a (patch) | |
tree | 43d02fce590516e17d688b72705ede30039cb294 /tvix | |
parent | 3091ac69f4d4b6b44c50a7402c66598c4939aad4 (diff) |
refactor(tvix/nix-compat): const is always 'static r/5801
Change-Id: If33bbf47a6cc376f2c0935ea4331a819223b2f00 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7993 Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de> Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/nix-compat/src/nixbase32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nix-compat/src/nixbase32.rs b/tvix/nix-compat/src/nixbase32.rs index 39aa4f1d5461..28c9e07d2e60 100644 --- a/tvix/nix-compat/src/nixbase32.rs +++ b/tvix/nix-compat/src/nixbase32.rs @@ -11,7 +11,7 @@ use std::fmt::Write; use thiserror::Error; -const ALPHABET: &'static [u8; 32] = b"0123456789abcdfghijklmnpqrsvwxyz"; +const ALPHABET: &[u8; 32] = b"0123456789abcdfghijklmnpqrsvwxyz"; /// Errors that can occur while decoding nixbase32-encoded data. #[derive(Debug, Eq, PartialEq, Error)] |