lapce / lapce-rust

Apache License 2.0
80 stars 26 forks source link

Cleanup server_path unwrap #12

Closed TitanNano closed 1 year ago

TitanNano commented 1 year ago

Server path unwrapping is currently done in a very convoluted way with several nested if let Some(...) statements. This can be done much more cleanly by chaining and_then(...) calls.