Postfix macros in Rust
The problem
Rust has many postfix combinators, for example the
.unwrap_or(x)
and .unwrap_or_else(|| x)
functions.
They are useful if you want to extract some value from
an optionally present value, or if not, provide an
alternative value. It's really nice and tidy to read: