[#45] Fixed clippy errors
continuous-integration/drone the build failed Details

pull/72/head
Jef Roosens 2021-05-12 14:29:39 +02:00
parent 2547434d95
commit 8baeda4cae
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 1 additions and 4 deletions

View File

@ -18,10 +18,7 @@ impl Street {
// This constructor just makes my life a bit easier during testing
#[cfg(test)]
fn new(name: String, city: String) -> Street {
Street {
name: name,
city: city,
}
Street { name, city }
}
}