Skip to content

Commit

Permalink
fix(sso): clippy::needless_borrows_for_generic_args
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Nov 12, 2024
1 parent 1a70834 commit fe43913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edu-ws/src/token/sso.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl Signature {
fn from(site_url: &Url, passport: f64) -> Self {
let mut context = md5::Context::new();
context.consume(site_url.as_str().trim_end_matches('/'));
context.consume(&passport.to_string());
context.consume(passport.to_string());
Self(context.compute().into())
}
}
Expand Down

0 comments on commit fe43913

Please sign in to comment.