diff options
| author | justpretending <[email protected]> | 2025-11-10 19:01:26 +0700 |
|---|---|---|
| committer | justpretending <[email protected]> | 2025-11-10 19:01:26 +0700 |
| commit | 83e2ddbc2bc665a0a841695f4a2b03fe845deaa4 (patch) | |
| tree | a0e626ba7fd2722b8fb9a1831f77da5a1d1cb729 | |
| parent | 2df69a2811f1a369659387021e60aa8c9fcb493d (diff) | |
| -rw-r--r-- | src/rules.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rules.rs b/src/rules.rs index 546b42c..40393b4 100644 --- a/src/rules.rs +++ b/src/rules.rs @@ -125,7 +125,7 @@ fn fmt_cmd(cmd: u32, f: &mut fmt::Formatter<'_>) -> fmt::Result { b'x' | b'O' | b'*' => fmt_nn(f, cmd)?, - b'i' | b'o' | b'3' | b'v' => fmt_nx(f, cmd)?, + b'i' | b'o' | b'3' | b'v' | b'B' => fmt_nx(f, cmd)?, b's' => fmt_xx(f, cmd)?, @@ -251,7 +251,7 @@ pub fn parse(s: &[u8]) -> Option<Rule> { b'x' | b'O' | b'*' => get_nn!(c, it), - b'i' | b'o' | b'3' | b'v' => get_nx!(c, it), + b'i' | b'o' | b'3' | b'v' | b'B' => get_nx!(c, it), b's' => get_xx!(c, it), |
