31
things rust shipped without (2015)
(graydon2.dreamwidth.org)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Yeah, they could literally have the same syntax as now, but w/
let
when introducing a variable. So:Or you could put the
let
before theSome(...)
aslet Some(l)
, which allows us to keep the currentif let Some(...) = ...
syntax. Either of those would feel more consistent than the current implementation.