mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-03 01:09:18 +00:00
Rust fmt applied
This commit is contained in:
parent
2b79927300
commit
9c78849952
@ -33,7 +33,7 @@ fn create_required_files() -> Result<(), std::io::Error> {
|
|||||||
|
|
||||||
let dir_path = match file_path.parent() {
|
let dir_path = match file_path.parent() {
|
||||||
Some(parent) => parent,
|
Some(parent) => parent,
|
||||||
None => return Err(Error::other("Could not get parent path"))
|
None => return Err(Error::other("Could not get parent path")),
|
||||||
};
|
};
|
||||||
|
|
||||||
if !dir_path.exists() {
|
if !dir_path.exists() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user