We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b79927 commit 9c78849Copy full SHA for 9c78849
solutions/24_file_io/file_io3.rs
@@ -33,7 +33,7 @@ fn create_required_files() -> Result<(), std::io::Error> {
33
34
let dir_path = match file_path.parent() {
35
Some(parent) => parent,
36
- None => return Err(Error::other("Could not get parent path"))
+ None => return Err(Error::other("Could not get parent path")),
37
};
38
39
if !dir_path.exists() {
0 commit comments