diff options
-rw-r--r-- | src/partition.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/partition.rs b/src/partition.rs index 3f2837d..b2305a1 100644 --- a/src/partition.rs +++ b/src/partition.rs @@ -15,7 +15,9 @@ mod tests { use super::partition_days; macro_rules! list { - ( $( $x:expr ),* ) => { + () => { LinkedList::new() }; + + ($( $x:expr ),+ ) => { { let mut temp_list = LinkedList::new(); $( |