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

This commit is contained in:
Jef Roosens 2021-05-12 14:29:39 +02:00
parent 2547434d95
commit 8baeda4cae
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30

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 }
}
}