summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/not_validated.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/not_validated.rs b/src/config/not_validated.rs
index 200b1e4..c91a0cb 100644
--- a/src/config/not_validated.rs
+++ b/src/config/not_validated.rs
@@ -79,7 +79,7 @@ impl<'reg> NotValidatedConfiguration {
"InspiredGitHub",
"Solarized (dark)",
"Solarized (light)",
- ].into_iter().any(|allowed_theme| configured_theme == *allowed_theme);
+ ].iter().any(|allowed_theme| configured_theme == *allowed_theme);
if !allowed_theme_present {
return Err(anyhow!("Theme not known: {}", configured_theme))