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 {