3 ms·
Yeah, in tests and simple examples. But unwrap is a code smell. You can write it as a shorthand for something Additionally that metric of yours is faulty. A)
by Ygg2 6y ago
Yeah, in tests and simple examples. But unwrap is a code smell. You can write it as a shorthand for something
Additionally that metric of yours is faulty.
A) Looks at tests/examples
B) Probably counts 'unwrap_or' which is fine.
> Heavily discouraged by who?
I'd ask to see however encouraged it?
- deleted 6y ago[deleted]
- johnisgood 6y agoYou are right. I should not have even picked two random projects. I merely just wished to say that most Rust projects I have encountered contained a lot of unwrap.