imag-link: Fix iterator usage
This commit is contained in:
parent
45e0043b9d
commit
d857faf1e9
1 changed files with 4 additions and 1 deletions
|
@ -297,7 +297,10 @@ fn list_links_for_entry(store: &Store, entry: &mut FileLockEntry) {
|
|||
entry.get_external_links(store)
|
||||
.and_then(|links| {
|
||||
for (i, link) in links.enumerate() {
|
||||
println!("{: <3}: {}", i, link);
|
||||
match link {
|
||||
Ok(link) => println!("{: <3}: {}", i, link),
|
||||
Err(e) => trace_error(&e),
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue