diff options
author | dfhoughton <dfhoughton@gmail.com> | 2019-09-15 18:50:14 -0400 |
---|---|---|
committer | dfhoughton <dfhoughton@gmail.com> | 2019-09-15 18:50:14 -0400 |
commit | 217ec4144c4a4a90e81c7407728fe3ce00cff872 (patch) | |
tree | 4c9262e4fd014e427b7362044715501302f2f10d /src | |
parent | ce61cbe65cc813fffdef12d05c476b7ef5de2d4f (diff) | |
download | two-timer-217ec4144c4a4a90e81c7407728fe3ce00cff872.zip |
use MATCHER in parsable to spread around the serialization savings
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |