1 unstable release
| 0.1.0 | Aug 28, 2023 |
|---|
#16 in #const-context
293 downloads per month
Used in 11 crates
(4 directly)
5KB
79 lines
const_list
const_list provides a minimal linked-list which may be used at compile-time. For example:
const MY_LIST: ConstList<'static, i32> = ConstList::new()
.push(2)
.push(4)
.push(8);
assert_eq!(8, MY_LIST.pop().0.unwrap());