mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 00:51:56 +00:00 
			
		
		
		
	Return mappings as a slice
This commit is contained in:
		@@ -59,7 +59,7 @@ impl<'a> SyntaxMapping<'a> {
 | 
			
		||||
        Ok(())
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn mappings(&self) -> &Vec<(GlobMatcher, MappingTarget<'a>)> {
 | 
			
		||||
    pub fn mappings(&self) -> &[(GlobMatcher, MappingTarget<'a>)] {
 | 
			
		||||
        &self.mappings
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user