Bikeshed: Rename `catch` blocks to `fallible` blocks

I’ve searched StackOverflow for “[rust] try”. There weren’t many questions/answers that mention it. I’ve edited a few to remove irrelevant try!. The ones left are mainly duplicates of a question about use of try! and ? in main() (which is being fixed).

The second edition of the Rust book and current Rust by Example have already removed all mentions of try!.

It’s possible to make rustfix or rustfmt replace try! with ? automatically.

So overall I think it’s feasible to reduce the try! macro to a historical curiosity to the point it won’t be actively confusing to newbies coming to Rust.

11 Likes