Skip to content

Commit

Permalink
Fix typo in jwk.rs (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
TellMin committed Dec 17, 2023
1 parent 95cfdfb commit 193eb8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jwk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ pub struct CommonParameters {
#[serde(rename = "kid", skip_serializing_if = "Option::is_none", default)]
pub key_id: Option<String>,

/// X.509 Public key cerfificate URL. This is currently not implemented (correctly).
/// X.509 Public key certificate URL. This is currently not implemented (correctly).
///
/// Serialized to `x5u`.
#[serde(rename = "x5u", skip_serializing_if = "Option::is_none")]
Expand Down Expand Up @@ -412,7 +412,7 @@ pub struct Jwk {
}

impl Jwk {
/// Find whether the Algorithm is implmented and supported
/// Find whether the Algorithm is implemented and supported
pub fn is_supported(&self) -> bool {
self.common.key_algorithm.unwrap().to_algorithm().is_ok()
}
Expand Down

0 comments on commit 193eb8d

Please sign in to comment.