summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b430b1a..e75aaf6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -478,7 +478,7 @@ lazy_static! {
/// let copacetic = parsable("5/6/69");
/// ```
pub fn parsable(phrase: &str) -> bool {
- GRAMMAR.rx().unwrap().is_match(phrase)
+ MATCHER.rx.is_match(phrase)
}
/// Converts a time expression into a pair or timestamps and a boolean indicating whether