parent
2547434d95
commit
8baeda4cae
|
@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue