Commit dbc182a
committed
crypto_provider: fix clippy::question_mark finding
```
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()?`
```1 parent 3cd9f98 commit dbc182a
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | 466 | | |
472 | 467 | | |
473 | | - | |
| 468 | + | |
474 | 469 | | |
475 | 470 | | |
476 | 471 | | |
| |||
0 commit comments