parent
2547434d95
commit
8baeda4cae
|
@ -18,10 +18,7 @@ impl Street {
|
||||||
// This constructor just makes my life a bit easier during testing
|
// This constructor just makes my life a bit easier during testing
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
fn new(name: String, city: String) -> Street {
|
fn new(name: String, city: String) -> Street {
|
||||||
Street {
|
Street { name, city }
|
||||||
name: name,
|
|
||||||
city: city,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue