diff --git a/Cargo.lock b/Cargo.lock index aa7f633..06dcf99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,4 +4,4 @@ version = 3 [[package]] name = "eyes" -version = "1.2.1" +version = "1.3.1" diff --git a/Cargo.toml b/Cargo.toml index 1ac221b..53ad526 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "eyes" -version = "1.2.1" +version = "1.3.1" edition = "2018" description = "A simpler way to parse using human-readable templates" license="BSD-3-Clause" diff --git a/src/lib.rs b/src/lib.rs index e1c3e78..4cf2664 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -137,7 +137,7 @@ macro_rules! try_parse { #[macro_export] macro_rules! parse { ($input: expr, $pattern: tt, $($type:ty),*) => { - try_parse!($input, $pattern, $($type),*).unwrap() + $crate::try_parse!($input, $pattern, $($type),*).unwrap() }; }