3 ms·
> Result is set up and marked to mandate its use, To elaborate on this slightly, it's not that Result is special cased by the compiler, there's a 'must_use' at
by steveklabnik 12y ago
> Result is set up and marked to mandate its use,
To elaborate on this slightly, it's not that Result is special cased by the compiler, there's a 'must_use' attribute which ensures that you get a warning if you ignore it, and the definition of Result has it.