mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 00:51:56 +00:00 
			
		
		
		
	Make filename method private
This commit is contained in:
		@@ -73,7 +73,7 @@ impl<'a> OrdinaryFile<'a> {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn filename(&self) -> &'a OsStr {
 | 
			
		||||
    pub(crate) fn filename(&self) -> &'a OsStr {
 | 
			
		||||
        self.user_provided_name.unwrap_or_else(|| self.path)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user