Rust 1.65 (currently in beta) will include let ... else statements. It'd be nice to have those highlighted in a way that does not cause ERRORs all over the place, but no need to haste, this is a pretty recent feature.
Example
let Some(doge) = meme.into_doge() else {
return "oh no";
}
Ideally else would be highlighted as a conditional and the normal expression highlighting just continue inside of the block then.
Rust 1.65
(currently in beta)will includelet ... else
statements. It'd be nice to have those highlighted in a way that does not causeERROR
s all over the place, but no need to haste, this is a pretty recent feature.Example
Ideally
else
would be highlighted as aconditional
and the normal expression highlighting just continue inside of the block then.