Skip to content

Commit 7b74dde

Browse files
authored
Fix the default capacity of USCC_BASE_CHARS in the format uscc (#34)
1 parent d38ffcf commit 7b74dde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiscript-directive/src/validator/format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ mod uscc {
5454
});
5555

5656
static USCC_BASE_CHARS: LazyLock<HashMap<char, u8>> = LazyLock::new(|| {
57-
let mut base_chars = HashMap::with_capacity(17);
57+
let mut base_chars = HashMap::with_capacity(31);
5858

5959
[
6060
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G',

0 commit comments

Comments
 (0)