diff options
Diffstat (limited to 'lib/entry/libimagentryfilter/src/builtin/header/field_lt.rs')
-rw-r--r-- | lib/entry/libimagentryfilter/src/builtin/header/field_lt.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/entry/libimagentryfilter/src/builtin/header/field_lt.rs b/lib/entry/libimagentryfilter/src/builtin/header/field_lt.rs index c9b89fec..0db1aa07 100644 --- a/lib/entry/libimagentryfilter/src/builtin/header/field_lt.rs +++ b/lib/entry/libimagentryfilter/src/builtin/header/field_lt.rs @@ -23,8 +23,9 @@ use builtin::header::field_path::FieldPath; use builtin::header::field_predicate::FieldPredicate; use builtin::header::field_predicate::Predicate; use filters::failable::filter::FailableFilter; -use error::Result; -use error::FilterError as FE; + +use failure::Fallible as Result; +use failure::Error; use toml::Value; @@ -72,7 +73,7 @@ impl FieldLt { } impl FailableFilter<Entry> for FieldLt { - type Error = FE; + type Error = Error; fn filter(&self, e: &Entry) -> Result<bool> { self.filter.filter(e) |