Skip to content

Commit 2b5e330

Browse files
committed
refactor(file): Adjust spacing to group related logic
1 parent 00a5109 commit 2b5e330

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/file/source/file.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ impl FileSourceFile {
6666
if filename.extension().is_some() {
6767
filename.as_mut_os_string().push(".placeholder");
6868
}
69-
7069
match format_hint {
7170
Some(format) => {
7271
for ext in format.file_extensions() {
@@ -77,7 +76,6 @@ impl FileSourceFile {
7776
}
7877
}
7978
}
80-
8179
None => {
8280
for format in all_extensions().keys() {
8381
for ext in format.extensions() {
@@ -90,7 +88,6 @@ impl FileSourceFile {
9088
}
9189
}
9290
}
93-
9491
Err(Box::new(io::Error::new(
9592
io::ErrorKind::NotFound,
9693
format!(

0 commit comments

Comments
 (0)