The
if let
construction is a neat thing Rust borrowed from Swift
(perhaps "copied" would be more accurate, or "cloned" depending on your
views on whether ideas have owners).
-- Frank McSherry, by way of /u/vks_ on Reddit.
The
if let
construction is a neat thing Rust borrowed from Swift
(perhaps "copied" would be more accurate, or "cloned" depending on your
views on whether ideas have owners).
-- Frank McSherry, by way of /u/vks_ on Reddit.