summaryrefslogtreecommitdiffstats
path: root/bin/core/imag-gps/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/core/imag-gps/src/lib.rs')
-rw-r--r--bin/core/imag-gps/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/core/imag-gps/src/lib.rs b/bin/core/imag-gps/src/lib.rs
index 20c3b495..c58a71de 100644
--- a/bin/core/imag-gps/src/lib.rs
+++ b/bin/core/imag-gps/src/lib.rs
@@ -144,7 +144,7 @@ fn add(rt: &Runtime) -> Result<()> {
.ok_or_else(|| format_err!("No such entry: {}", id))?
.set_coordinates(c.clone())?;
- rt.report_touched(&id).map_err(Error::from)
+ rt.report_touched(&id)
})
.collect()
}
@@ -170,7 +170,7 @@ fn remove(rt: &Runtime) -> Result<()> {
writeln!(rt.stdout(), "{}", removed_value)?;
}
- rt.report_touched(&id).map_err(Error::from)
+ rt.report_touched(&id)
})
.collect()
}
@@ -194,7 +194,7 @@ fn get(rt: &Runtime) -> Result<()> {
writeln!(stdout, "{}", value)?;
- rt.report_touched(&id).map_err(Error::from)
+ rt.report_touched(&id)
})
.collect()
}