Closed faptc closed 1 year ago
if-let chain will soon be stable. Tracking issue for the feature: https://github.com/rust-lang/rust/issues/53667
The syntax is not highlighted correctly for the let keyword.
let
I have this code:
fn foo(b: bool, x: Option<u32>) { if b && let Some(x) = x {} }
I expect the let keyword be highlighted.
Instead, let is not highlighted:
perhaps let-else as well?
let-else
Yeah let-else and if-let chain would be nice.
if-let
if-let chain will soon be stable. Tracking issue for the feature: https://github.com/rust-lang/rust/issues/53667
The syntax is not highlighted correctly for the
let
keyword.I have this code:
I expect the let keyword be highlighted.
Instead, let is not highlighted:![image](https://user-images.githubusercontent.com/94724914/198826892-5e075e93-aa53-4fca-a460-6ada4ec69456.png)