summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-12-23 14:29:53 +0100
committerMatthias Beyer <mail@beyermatthias.de>2019-12-23 15:43:48 +0100
commit1726be63fb2a9170b6529e6d4cc053949180c7b2 (patch)
treeaaf07d33aeaecc6d06ab88be96d74992e2fc9359
parentb0543af2c564548d35c11077e090c796b77820d2 (diff)
Remove identical conversion
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--bin/domain/imag-bookmark/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/domain/imag-bookmark/src/lib.rs b/bin/domain/imag-bookmark/src/lib.rs
index 21d4bd4a..94b00d54 100644
--- a/bin/domain/imag-bookmark/src/lib.rs
+++ b/bin/domain/imag-bookmark/src/lib.rs
@@ -124,7 +124,6 @@ fn add(rt: &Runtime) -> Result<()> {
let scmd = rt.cli().subcommand_matches("add").unwrap();
scmd.values_of("urls")
.unwrap()
- .into_iter()
.map(|s| Url::parse(s).map_err(Error::from))
.and_then_ok(|url| {
let (uuid, fle) = rt.store().add_bookmark(url.clone())?;