summaryrefslogtreecommitdiffstats
path: root/src/file/source/file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/file/source/file.rs')
-rw-r--r--src/file/source/file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file/source/file.rs b/src/file/source/file.rs
index 9bd3ddd..a27c9d2 100644
--- a/src/file/source/file.rs
+++ b/src/file/source/file.rs
@@ -73,7 +73,7 @@ impl FileSourceFile {
}
None => {
- for (format, extensions) in ALL_EXTENSIONS.iter() {
+ for format in ALL_EXTENSIONS.keys() {
for ext in format.extensions() {
filename.set_extension(ext);