Skip to content

Fix typo in Verifier::{with_provider, get_provider} docs #173

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

Merged
merged 1 commit into from
May 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rustls-platform-verifier/src/verification/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub const ALLOWED_EKUS: &[&str] = &["1.3.6.1.5.5.7.3.1"];
impl Verifier {
/// Chainable setter to configure the [`CryptoProvider`] for this `Verifier`.
///
/// This will be used instead of the rustls processs-default `CryptoProvider`, even if one has
/// This will be used instead of the rustls process-default `CryptoProvider`, even if one has
/// been installed.
pub fn with_provider(mut self, crypto_provider: Arc<CryptoProvider>) -> Self {
self.set_provider(crypto_provider);
Expand All @@ -97,7 +97,7 @@ impl Verifier {

/// Configures the [`CryptoProvider`] for this `Verifier`.
///
/// This will be used instead of the rustls processs-default `CryptoProvider`, even if one has
/// This will be used instead of the rustls process-default `CryptoProvider`, even if one has
/// been installed.
pub fn set_provider(&mut self, crypto_provider: Arc<CryptoProvider>) {
self.crypto_provider = crypto_provider.into();
Expand Down
Loading