Skip to content

Commit

Permalink
Fix clippy lint (#1433)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored Dec 2, 2024
1 parent fd6a684 commit 178eb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/entity/api_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ mod url_safe_base64 {

pub fn deserialize<'de, D: Deserializer<'de>>(deserializer: D) -> Result<Vec<u8>, D::Error> {
struct Base64Visitor;
impl<'de> Visitor<'de> for Base64Visitor {
impl Visitor<'_> for Base64Visitor {
type Value = Vec<u8>;
fn expecting(&self, formatter: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(formatter, "base64")
Expand Down

0 comments on commit 178eb21

Please sign in to comment.