@@ -121,7 +121,6 @@ pub fn list_languages(config: &Config) -> Result<()> {
121121
122122pub fn list_themes(cfg: &Config) -> Result<()> {
123123 let assets = assets_from_cache_or_binary();
124− let themes = assets.themes();
125124 let mut config = cfg.clone();
126125 let mut style = HashSet::new();
127126 style.insert(OutputComponent::Plain);
@@ -132,7 +131,7 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
132131 let mut stdout = stdout.lock();
133132
134133 if config.colored_output {
135− for (theme, _) in themes.iter() {
134+ for theme in assets.themes() {
136135 writeln!(
137136 stdout,
138137 "Theme: {}\n",
@@ -143,7 +142,7 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
143142 writeln!(stdout)?;
144143 }
145144 } else {
146− for (theme, _) in themes.iter() {
145+ for theme in assets.themes() {
147146 writeln!(stdout, "{}", theme)?;
148147 }
149148 }