From b78db38956cbcf9d7da3bc81e62e8f057e7b3f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Tue, 12 Nov 2024 18:18:20 +0100 Subject: [PATCH] fix(sso): `clippy::needless_borrows_for_generic_args` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- edu-ws/src/token/sso.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edu-ws/src/token/sso.rs b/edu-ws/src/token/sso.rs index 093d2c2..5efc11e 100644 --- a/edu-ws/src/token/sso.rs +++ b/edu-ws/src/token/sso.rs @@ -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()) } }