mirror of https://github.com/ctz/rustls
Reword `no process-level CryptoProvider` panic
Avoid markdown and ensure it is a single sentence.
This commit is contained in:
parent
d5c6036716
commit
88022fc91d
|
@ -263,7 +263,7 @@ impl CryptoProvider {
|
|||
}
|
||||
|
||||
let provider = Self::from_crate_features()
|
||||
.expect("no process-level `CryptoProvider` available. call `CryptoProvider::install_default()` before this point");
|
||||
.expect("no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point");
|
||||
// Ignore the error resulting from us losing a race, and accept the outcome.
|
||||
let _ = provider.install_default();
|
||||
Self::get_default().unwrap()
|
||||
|
|
Loading…
Reference in New Issue