From 524c246972a8829486652bc53e7bedcb4bbc2529 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 15:46:58 +0100 Subject: [PATCH] Fix clippy: Remove unnecessary reference Signed-off-by: Matthias Beyer --- src/scopes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scopes.rs b/src/scopes.rs index 1f18664..35c9a80 100644 --- a/src/scopes.rs +++ b/src/scopes.rs @@ -38,7 +38,7 @@ impl FromStr for Scopes { fn from_str(s: &str) -> Result { let mut set = HashSet::new(); for scope in s.split_whitespace() { - let scope = Scope::from_str(&scope)?; + let scope = Scope::from_str(scope)?; set.insert(scope); } Ok(Scopes {