chore: fix table
This commit is contained in:
parent
57e1b7e42f
commit
f2eafb912b
14
src/lib.zig
14
src/lib.zig
@ -29,13 +29,13 @@
|
|||||||
//! }
|
//! }
|
||||||
//! ```
|
//! ```
|
||||||
//! ## Syntax
|
//! ## Syntax
|
||||||
//! | Token | Meaning | Description
|
//! | Token | Meaning | Description |
|
||||||
//! | ------- | --------- | -----------
|
//! | :-----: | --------- | ------------------------------------------------------------------------------------------------------------- |
|
||||||
//! | `0` | Clear bit | In the equivalent position, the value's bit must be cleared.
|
//! | `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.
|
//! | `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`
|
//! | `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 | 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`
|
//! | `_` | Ignored* | Underscores are completely ignored during parsing, use to make bit strings easier to read e.g. `1111_1111` |
|
||||||
//!
|
//!
|
||||||
//! ## Notes
|
//! ## Notes
|
||||||
//! - This library does the majority of it's work at `comptime`. Due to this, you cannot create strings to match against at runtime.
|
//! - This library does the majority of it's work at `comptime`. Due to this, you cannot create strings to match against at runtime.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user