diff --git a/Cargo.toml b/Cargo.toml index f044dc2..5d5fcba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ad-hoc-iter" -version = "0.2.2" +version = "0.2.3" description = "Ad-hoc exact size owning iterator macro and other optional utils" repository = "https://git.flanchan.moe/flanchan/ad-hoc-iter" keywords = ["iterator", "macro", "iter"] diff --git a/src/lib.rs b/src/lib.rs index 36046e3..0d55793 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -69,7 +69,7 @@ } }; - ($($value:expr),*) => { + ($($value:expr),* $(,)?) => { { use ::std::mem::MaybeUninit; use ::std::ops::Drop;