Comment Comment by centril Note that in Rust, `.match` would itself provide the general way: let number = foo.bar().baz().match { it => it + 1 }; parent centril 7 years ago