format: fix formatting
All checks were successful
/ check (push) Successful in 38s

This commit is contained in:
Didier Slof 2023-07-17 21:23:59 +02:00
parent f51c5dc9d5
commit f050daf035
Signed by: didier
GPG key ID: 01E71F18AA4398E5
12 changed files with 80 additions and 85 deletions

View file

@ -9,9 +9,7 @@ impl TempDir {
if !path.exists() {
std::fs::create_dir_all(&path).unwrap();
}
TempDir {
path
}
TempDir { path }
}
pub fn push<S: Into<String>>(&mut self, path: S) {
@ -45,4 +43,4 @@ impl ToString for TempDir {
fn to_string(&self) -> String {
self.path.to_str().unwrap().to_string()
}
}
}