mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 09:01:56 +00:00 
			
		
		
		
	Fix codegen type declaration
This commit is contained in:
		@@ -69,7 +69,7 @@ impl MappingList {
 | 
				
			|||||||
        let len = array_items.len();
 | 
					        let len = array_items.len();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        format!(
 | 
					        format!(
 | 
				
			||||||
            "static STATIC_RULES: [(&'static str, &'static str); {len}] = [\n{items}\n];",
 | 
					            "static STATIC_RULES: [(&str, MappingTarget); {len}] = [\n{items}\n];",
 | 
				
			||||||
            items = array_items.join(",\n")
 | 
					            items = array_items.join(",\n")
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user