fixed import, bumped version
This commit is contained in:
parent
04ab7eacae
commit
66309d81db
3 changed files with 3 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -4,4 +4,4 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "eyes"
|
name = "eyes"
|
||||||
version = "1.2.1"
|
version = "1.3.1"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "eyes"
|
name = "eyes"
|
||||||
version = "1.2.1"
|
version = "1.3.1"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "A simpler way to parse using human-readable templates"
|
description = "A simpler way to parse using human-readable templates"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
|
|
|
@ -137,7 +137,7 @@ macro_rules! try_parse {
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! parse {
|
macro_rules! parse {
|
||||||
($input: expr, $pattern: tt, $($type:ty),*) => {
|
($input: expr, $pattern: tt, $($type:ty),*) => {
|
||||||
try_parse!($input, $pattern, $($type),*).unwrap()
|
$crate::try_parse!($input, $pattern, $($type),*).unwrap()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue