fixed imag-link iterator error
This commit is contained in:
parent
dfd6a9b0d3
commit
5ac661c334
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ fn set_links_for_entry(store: &Store, matches: &ArgMatches, entry: &mut FileLock
|
|||
fn list_links_for_entry(store: &Store, entry: &mut FileLockEntry) {
|
||||
let res = entry.get_external_links(store)
|
||||
.and_then(|links| {
|
||||
for (i, link) in links.enumerate() {
|
||||
for (i, link) in links.iter().enumerate() {
|
||||
println!("{: <3}: {}", i, link);
|
||||
}
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in a new issue