Add support for `if-let chain`
faptc opened this issue · comments
faptc commented
if-let chain will soon be stable. Tracking issue for the feature: rust-lang/rust#53667
The syntax is not highlighted correctly for the let
keyword.
I have this code:
fn foo(b: bool, x: Option<u32>) {
if b && let Some(x) = x {}
}
I expect the let keyword be highlighted.
AndyJado commented
perhaps let-else
as well?
Benji Nguyen commented