Skip to content

Conversation

@cpu
Copy link
Member

@cpu cpu commented Nov 18, 2024

error: this `match` expression can be replaced with `?`
   --> src/crypto_provider.rs:466:20
    |
466 |       let provider = match provider_from_crate_features() {
    |  ____________________^
467 | |         Some(provider) => provider,
468 | |         None => return None,
469 | |     };
    | |_____^ help: try instead: `provider_from_crate_features()?`
```
error: this `match` expression can be replaced with `?`
   --> src/crypto_provider.rs:466:20
    |
466 |       let provider = match provider_from_crate_features() {
    |  ____________________^
467 | |         Some(provider) => provider,
468 | |         None => return None,
469 | |     };
    | |_____^ help: try instead: `provider_from_crate_features()?`
```
@cpu cpu self-assigned this Nov 18, 2024
@cpu cpu requested a review from ctz November 18, 2024 14:29
@cpu cpu merged commit dbc182a into rustls:main Nov 18, 2024
40 checks passed
@cpu cpu deleted the cpu-fix-clippy branch November 18, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants