diff options
Diffstat (limited to 'src/fexpr')
-rw-r--r-- | src/fexpr/grammar.lalrpop | 3 | ||||
-rw-r--r-- | src/fexpr/mod.rs | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/fexpr/grammar.lalrpop b/src/fexpr/grammar.lalrpop index 8674b84..4cb1849 100644 --- a/src/fexpr/grammar.lalrpop +++ b/src/fexpr/grammar.lalrpop @@ -4,13 +4,12 @@ use super::{ FightOutcome, filters, SearchField, - Weekday, }; use evtclib::Boss; use std::collections::HashSet; use lalrpop_util::ParseError; -use chrono::{DateTime, Local, TimeZone, Utc}; +use chrono::{DateTime, Local, TimeZone, Utc, Weekday}; use regex::Regex; grammar; diff --git a/src/fexpr/mod.rs b/src/fexpr/mod.rs index 5610aba..391b739 100644 --- a/src/fexpr/mod.rs +++ b/src/fexpr/mod.rs @@ -3,7 +3,7 @@ //! This module contains methods to parse a given string into an abstract filter tree, check its //! type and convert it to a [`Filter`][super::filters::Filter]. // Make it available in the grammar mod. -use super::{filters, FightOutcome, SearchField, Weekday}; +use super::{filters, FightOutcome, SearchField}; use std::{error, fmt}; |