diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-11-10 01:13:25 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-12-22 02:03:35 +0100 |
commit | f20eda3f3b72bbdf30fa48438eb35e800aff227b (patch) | |
tree | c6fa8440b68fc5f068cba1444b281e6914e0bc1a | |
parent | 24f1732135e2e46aaade593826c2d681c58d3538 (diff) |
Remove unused Error::from() call
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | bin/domain/imag-calendar/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/domain/imag-calendar/src/lib.rs b/bin/domain/imag-calendar/src/lib.rs index 38792077..7af7d48b 100644 --- a/bin/domain/imag-calendar/src/lib.rs +++ b/bin/domain/imag-calendar/src/lib.rs @@ -240,7 +240,7 @@ fn list(rt: &Runtime) -> Result<()> { parsed_entry .get_data() .events() - .map_err(|component| Error::from(format_err!("Failed to parse entry: {}", component.name))) + .map_err(|component| format_err!("Failed to parse entry: {}", component.name)) .and_then_ok(|event| { event_filter(&event).map(|b| (event, b)) }) |