mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-26 06:32:12 +01:00
Remove unused with_name for theme preview file
This commit is contained in:
parent
7a9decad70
commit
a3357547ea
@ -122,7 +122,6 @@ pub fn list_languages(config: &Config) -> Result<()> {
|
|||||||
|
|
||||||
fn theme_preview_file<'a>() -> Input<'a> {
|
fn theme_preview_file<'a>() -> Input<'a> {
|
||||||
Input::from_reader(Box::new(BufReader::new(THEME_PREVIEW_DATA)))
|
Input::from_reader(Box::new(BufReader::new(THEME_PREVIEW_DATA)))
|
||||||
.with_name(Some("theme.rs".as_ref()))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn list_themes(cfg: &Config) -> Result<()> {
|
pub fn list_themes(cfg: &Config) -> Result<()> {
|
||||||
|
Loading…
Reference in New Issue
Block a user