Skip to content

Commit d205258

Browse files
style: format the code
1 parent 809b28c commit d205258

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pre-compute/src/compute/utils/file_utils.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ pub fn download_file(url: &str, parent_dir: &str, filename: &str) -> Option<Path
130130

131131
match write_file(&bytes, &file_path, &format!("url:{url}")) {
132132
Ok(_) => Some(file_path),
133-
Err(_) => {
134-
None
135-
}
133+
Err(_) => None,
136134
}
137135
}
138136

0 commit comments

Comments
 (0)