We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Result
From the Rust coding guidleines:
// Extract the contents of Ok variant; fail if Err fn assert(self) -> V // Extract the contents of Err variant; fail if Ok fn assert_err(self) -> E
The code has been using assert(x.is_ok()) and assert(x.is_err()) instead.
assert(x.is_ok())
assert(x.is_err())
The text was updated successfully, but these errors were encountered:
It turns out that the Rust coding guidelines are out of date. I filed aturon/aturon.github.io#3. Thus, there's nothing to do here.
Sorry, something went wrong.
No branches or pull requests
From the Rust coding guidleines:
The code has been using
assert(x.is_ok())
andassert(x.is_err())
instead.The text was updated successfully, but these errors were encountered: