1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-27 19:54:55 +00:00
starship/starship_module_config_derive/src
Tobias Bieniek 9a1569444b refactor: ModuleConfig: Simplify generated from_config() implementations (#775)
We can use `and_then()` to string `Option` values together so that we only need a single `?` assertion. This makes it generally possible to have e.g. `unwrap_or()` at the end.
2019-12-23 10:12:21 -05:00
..
lib.rs refactor: ModuleConfig: Simplify generated from_config() implementations (#775) 2019-12-23 10:12:21 -05:00