News for hackers. Stuff that matters.
Re:Using unwrap() in Rust is okay by dureuill on Wednesday August 10, 2022 @04:52AM (#32409357)
You could go:

    result.unwrap_or_else(|| todo !())
(unimplemented! is for missing functionality in a given version, todo! is for missing functionality during development)

But using unwrap for these kinds of TODO is ok, code review won't let unjustified unwraps to pass

There are no comments on this comment yet.