macro_rules! dll {
[$($item:literal),*] => { ... };
}Expand description
Macro used to create a DoublyLinkedList
ยงExample
use lru_st::dll;
let d = dll![1,2,3];
assert_eq!(d, dll![1,2,3]);
assert_ne!(d, dll![3,2,1]);macro_rules! dll {
[$($item:literal),*] => { ... };
}Macro used to create a DoublyLinkedList
use lru_st::dll;
let d = dll![1,2,3];
assert_eq!(d, dll![1,2,3]);
assert_ne!(d, dll![3,2,1]);