This commit is contained in:
Intege-rs
2025-01-14 13:26:12 -05:00
parent 52a63d4c3f
commit 09e129f890

View File

@@ -35,7 +35,7 @@ pub mod __time_units {
}
}
pub macro dur($($amount:tt $unit:ident $(,)?)+) {
pub macro dur($($amount:tt $unit:ident $(,)?$(and)?)+) {
core::time::Duration::from_millis(0u64 $( + ($crate::time::time_unit!( $amount, $unit)) )+ )
}