1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-05 04:47:58 +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