clippy fixes
This commit is contained in:
		
							parent
							
								
									f2ff07d9d9
								
							
						
					
					
						commit
						8d3ca4dfad
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		|  | @ -120,7 +120,7 @@ mod feature_cp437 { | |||
|         /* FX */ '≡', '±', '≥', '≤', '⌠', '⌡', '÷', '≈', '°', '∙', '·', '√', 'ⁿ', '²', '■', ' ', | ||||
|     ]; | ||||
| 
 | ||||
|     const UTF8_TO_CP437: once_cell::sync::Lazy<HashMap<char, u8>> = | ||||
|     static UTF8_TO_CP437: once_cell::sync::Lazy<HashMap<char, u8>> = | ||||
|         once_cell::sync::Lazy::new(|| { | ||||
|             let pairs = CP437_TO_UTF8 | ||||
|                 .iter() | ||||
|  |  | |||
|  | @ -118,7 +118,7 @@ impl<T: PrimitiveGridType> PrimitiveGrid<T> { | |||
|         F: FnMut(&T) -> TConverted, | ||||
|     { | ||||
|         let data = self.data_ref().iter().map(f).collect::<Vec<_>>(); | ||||
|         PrimitiveGrid::load(self.width(), self.height(), &*data) | ||||
|         PrimitiveGrid::load(self.width(), self.height(), &data) | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,7 +4,7 @@ | |||
| 
 | ||||
| use std::ptr::null_mut; | ||||
| 
 | ||||
| use servicepoint::{Brightness, Command, Origin}; | ||||
| use servicepoint::{Brightness, Origin}; | ||||
| 
 | ||||
| use crate::{ | ||||
|     SPBitVec, SPBrightnessGrid, SPCompressionCode, SPCp437Grid, SPPacket, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinzenz Schroeter
						Vinzenz Schroeter