Hacker News new | ask | show | jobs
by centril 2596 days ago
Note that in Rust, `.match` would itself provide the general way:

    let number = foo.bar().baz().match { it =>
        it + 1
    };