We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The exactly_one() function was added in #310:
exactly_one()
exactly_one(self) -> Result<Self::Item, ExactlyOneError<Self>>
For using the early return operator ? on its result, it would be nice if ExactlyOneError would implement Error. Or is there any reason not to?
?
ExactlyOneError
Error
cc @Xaeroxe @Centril @bluss