fn f(x1: X) -> SomeStruct { let x2 = X::new(); ... if cond() { SomeStruct { x: x1 } } else { SomeStruct { x: x2 } } }
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
fn f(x1: X) -> SomeStruct { let x2 = X::new(); ... if cond() { SomeStruct { x: x1 } } else { SomeStruct { x: x2 } } }