From f2eafb912b16ea74638f03b3024ccf5170c553a6 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 16 May 2025 17:46:09 -0500 Subject: [PATCH] chore: fix table --- src/lib.zig | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib.zig b/src/lib.zig index eab7800..dfb5302 100644 --- a/src/lib.zig +++ b/src/lib.zig @@ -29,13 +29,13 @@ //! } //! ``` //! ## Syntax -//! | Token | Meaning | Description -//! | ------- | --------- | ----------- -//! | `0` | Clear bit | In the equivalent position, the value's bit must be cleared. -//! | `1` | Set bit | In the equivalent position, the value's bit must be set. -//! | `a..=z` | Variable | Given the 4-bit bit string, `"1aa0"`, the value `0b1010` would produce the variable `a` with the value `0b01` -//! | `-` | Ignored | In the equivalent position, the value's bit does not matter. -//! | `_` | Ignored* | Underscores are completely ignored during parsing, use to make bit strings easier to read e.g. `1111_1111` +//! | Token | Meaning | Description | +//! | :-----: | --------- | ------------------------------------------------------------------------------------------------------------- | +//! | `0` | Clear bit | In the equivalent position, the value's bit must be cleared. | +//! | `1` | Set bit | In the equivalent position, the value's bit must be set. | +//! | `a..=z` | Variable | Given the 4-bit bit string, `"1aa0"`, the value `0b1010` would produce the variable `a` with the value `0b01` | +//! | `-` | Ignored | In the equivalent position, the value's bit does not matter. | +//! | `_` | Ignored* | Underscores are completely ignored during parsing, use to make bit strings easier to read e.g. `1111_1111` | //! //! ## Notes //! - This library does the majority of it's work at `comptime`. Due to this, you cannot create strings to match against at runtime.