mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Alphabet should be static
This commit is contained in:
parent
e21d06994f
commit
fe78711736
|
@ -107,7 +107,7 @@ impl core::fmt::Display for Frames {
|
|||
}
|
||||
|
||||
mod gwilym_encoding {
|
||||
const ALPHABET: &[u8] = b"0123456789=ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz";
|
||||
static ALPHABET: &[u8] = b"0123456789=ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz";
|
||||
|
||||
pub fn encode_16(input: u16) -> [u8; 3] {
|
||||
let input = input as usize;
|
||||
|
|
Loading…
Reference in a new issue