on master help sign in
Fix build for Rust 1.26
commitcda54e4f61c3d995311aed20319418c8170167ea authorsharkdp <davidpeter@web.de> dateTue 28 Aug 2018, 19:41 (8 years ago) parent3b90ada
1 file changed+1−1
src/main.rs+1−1
src/main.rs+1−1
@@ -139,7 +139,7 @@ pub fn list_themes(assets: &HighlightingAssets, cfg: &Config) {
139139 config.files = vec![Some("assets/theme_preview.rs")];
140140 config.output_components = OutputComponents(style);
141141 for (theme, _) in themes.iter() {
142− println!("{}\n", Style::new().bold().paint(theme));
142+ println!("{}\n", Style::new().bold().paint(theme.to_string()));
143143 config.theme = theme.to_string();
144144 let _controller = Controller::new(&config, &assets).run();
145145 println!("--------------------------------\n");