zargony / atom-language-rust

Rust language support in Atom - LOOKING FOR MAINTAINER, see #144

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Highlight question mark-operator

sinesc opened this issue · comments

I'd like to request a syntax--..-class for the ? operator. Given its impact on control flow I want to highlight it a bit.

The operator is documented here: https://doc.rust-lang.org/book/second-edition/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-