diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,8 @@ pub mod parser; pub const SMALL_STR_SIZE: usize = 16; /// Small C string on the stack with fixed size [`SMALL_STR_SIZE`]. +/// +/// This is specially crafted to interact with the LLVM C API and get rid of some heap allocations. #[derive(Debug, PartialEq)] pub struct SmallCStr([u8; SMALL_STR_SIZE]); |