diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-10-13 18:30:16 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-10-14 13:27:06 +0200 |
commit | 02a2034d8beefa6eae21443756b1be31f1821911 (patch) | |
tree | fdad5e85da72cd8f241d6410d4bb2bed78f58d02 /libimagentrylink | |
parent | b70564f2ce749eb3dd799e8fb332cb9f03b2e671 (diff) |
Fix usage of libimagentrylink interface
Diffstat (limited to 'libimagentrylink')
-rw-r--r-- | libimagentrylink/src/external.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libimagentrylink/src/external.rs b/libimagentrylink/src/external.rs index f68028ff..48c3956d 100644 --- a/libimagentrylink/src/external.rs +++ b/libimagentrylink/src/external.rs @@ -133,10 +133,9 @@ impl ExternalLinker for Entry { // /link/external/<SHA> -> load these files and get the external link from their headers, // put them into the return vector. self.get_internal_links() - .map(|vect| { + .map(|iter| { debug!("Getting external links"); - vect.into_iter() - .filter(is_external_link_storeid) + iter.filter(|l| is_external_link_storeid(l)) .map(|id| { debug!("Retrieving entry for id: '{:?}'", id); match store.retrieve(id.clone()) { |