Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
lpotthast committed Jun 24, 2024
1 parent e723aab commit ee40c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ impl OidcDiscoveryEndpoint {
let mut url = server;
url.path_segments_mut()
.expect("URL not to be a 'cannot-be-a-base' URL. We have to append segments.")
.extend(&["realms", &realm, ".well-known", "openid-configuration"]);
.extend(&["realms", realm, ".well-known", "openid-configuration"]);
Self(url)
}
}
Expand All @@ -50,7 +50,7 @@ pub struct KeycloakConfig {
}

fn debug_decoding_keys(
decoding_keys: &Vec<jsonwebtoken::DecodingKey>,
decoding_keys: &[jsonwebtoken::DecodingKey],
f: &mut std::fmt::Formatter<'_>,
) -> std::fmt::Result {
f.write_fmt(format_args!("len: {}", decoding_keys.len()))
Expand Down

0 comments on commit ee40c2d

Please sign in to comment.