Fix clippy: Remove unnecessary reference

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 15:46:58 +01:00
parent edad6082a1
commit 524c246972
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ impl FromStr for Scopes {
fn from_str(s: &str) -> Result<Scopes, Self::Err> {
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 {