This commit is contained in:
Intege-rs committed 2025-01-14 13:26:59 -05:00
1 parent 09e129f890
commit 72513c03d7
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ pub mod __time_units {
}
}
pub macro dur($($amount:tt $unit:ident $(,)?$(and)?)+) {
pub macro dur($($amount:tt $unit:ident $(,)?)+) {
core::time::Duration::from_millis(0u64 $( + ($crate::time::time_unit!( $amount, $unit)) )+ )
}