Commit 7544c61
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 a233b51 commit 7544c61
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | 464 | | |
470 | 465 | | |
471 | | - | |
| 466 | + | |
472 | 467 | | |
473 | 468 | | |
474 | 469 | | |
| |||
0 commit comments