summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-category/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-category/src/lib.rs')
-rw-r--r--bin/core/imag-category/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/core/imag-category/src/lib.rs b/bin/core/imag-category/src/lib.rs
index 27fd2d6b..8e70d722 100644
--- a/bin/core/imag-category/src/lib.rs
+++ b/bin/core/imag-category/src/lib.rs
@@ -165,7 +165,7 @@ fn create_category(rt: &Runtime) -> Result<()> {
let name = scmd.value_of("create-category-name").map(String::from).unwrap(); // safed by clap
rt.store()
.create_category(&name)
- .and_then(|e| rt.report_touched(e.get_location()).map_err(Error::from))
+ .and_then(|e| rt.report_touched(e.get_location()))
}
fn delete_category(rt: &Runtime) -> Result<()> {