on master help sign in
Remove unused with_name for theme preview file
a335754Ethan P
src/bin/bat/main.rs−1
@@ -122,7 +122,6 @@ pub fn list_languages(config: &Config) -> Result<()> {
122
122
123fn theme_preview_file<'a>() -> Input<'a> {
123fn theme_preview_file<'a>() -> Input<'a> {
124 Input::from_reader(Box::new(BufReader::new(THEME_PREVIEW_DATA)))
124 Input::from_reader(Box::new(BufReader::new(THEME_PREVIEW_DATA)))
125− .with_name(Some("theme.rs".as_ref()))
126}
125}
127
126
128pub fn list_themes(cfg: &Config) -> Result<()> {
127pub fn list_themes(cfg: &Config) -> Result<()> {