2 ms·
> we want to add a function that looks like all the other functions but doesn't work like them. I like how Rust does it: all macros and special built-ins like
by cesarb 7y ago
> we want to add a function that looks like all the other functions but doesn't work like them.
I like how Rust does it: all macros and special built-ins like these have names ending with an exclamation point. So when you see for instance "try!(something())", you know that this "try!()" is not a normal function call.