fixed import, bumped version

This commit is contained in:
Frederik Palmø 2023-02-06 15:53:58 +01:00
parent 04ab7eacae
commit 66309d81db
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View file

@ -4,4 +4,4 @@ version = 3
[[package]]
name = "eyes"
version = "1.2.1"
version = "1.3.1"

View file

@ -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"

View file

@ -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()
};
}