Skip to content
New issue

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

Shorten #[must_use] Diagnostic Message for Option::is_none #120194

Merged

Commits on Jan 21, 2024

  1. chore: suggest wrapping in an assert!() instead

    This shortens the `#[must_use]` diagnostics displayed, in light of the [review comment](https://github.com/rust-lang/rust/pull/62431/files#r300819839) on when this was originally added.
    HTGAzureX1212 authored Jan 21, 2024
    Configuration menu
    Copy the full SHA
    1821bfa View commit details
    Browse the repository at this point in the history