add bool to pod types

This commit is contained in:
Intege-rs
2024-11-19 08:04:29 -05:00
parent 4ee8cfbafa
commit 04ab4b6c09

View File

@@ -16,7 +16,7 @@ macro_rules! primitive {
primitive!(u8, u16, u32, u64, u128);
primitive!(i8, i16, i32, i64, i128);
primitive!(f32, f64, usize, isize);
primitive!(());
primitive!((), bool);
impl<const LEN: usize, T: Pod> Pod for [T;LEN] {}