fix new clippy warnings
This commit is contained in:
		
							parent
							
								
									2c6c854969
								
							
						
					
					
						commit
						81fd341da2
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -605,7 +605,7 @@ mod tests {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #[test]
 | 
					    #[test]
 | 
				
			||||||
    fn round_trip_bitmap_linear() {
 | 
					    fn round_trip_bitmap_linear() {
 | 
				
			||||||
        for compression in all_compressions().to_owned() {
 | 
					        for compression in all_compressions().iter().copied() {
 | 
				
			||||||
            round_trip(Command::BitmapLinear(
 | 
					            round_trip(Command::BitmapLinear(
 | 
				
			||||||
                23,
 | 
					                23,
 | 
				
			||||||
                BitVec::repeat(false, 40),
 | 
					                BitVec::repeat(false, 40),
 | 
				
			||||||
| 
						 | 
					@ -750,7 +750,7 @@ mod tests {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #[test]
 | 
					    #[test]
 | 
				
			||||||
    fn error_decompression_failed_win() {
 | 
					    fn error_decompression_failed_win() {
 | 
				
			||||||
        for compression in all_compressions().to_owned() {
 | 
					        for compression in all_compressions().iter().copied() {
 | 
				
			||||||
            let p: Packet = Command::BitmapLinearWin(
 | 
					            let p: Packet = Command::BitmapLinearWin(
 | 
				
			||||||
                Origin::new(16, 8),
 | 
					                Origin::new(16, 8),
 | 
				
			||||||
                Bitmap::new(8, 8),
 | 
					                Bitmap::new(8, 8),
 | 
				
			||||||
| 
						 | 
					@ -780,7 +780,7 @@ mod tests {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    #[test]
 | 
					    #[test]
 | 
				
			||||||
    fn error_decompression_failed_and() {
 | 
					    fn error_decompression_failed_and() {
 | 
				
			||||||
        for compression in all_compressions().to_owned() {
 | 
					        for compression in all_compressions().iter().copied() {
 | 
				
			||||||
            let p: Packet = Command::BitmapLinearAnd(
 | 
					            let p: Packet = Command::BitmapLinearAnd(
 | 
				
			||||||
                0,
 | 
					                0,
 | 
				
			||||||
                BitVec::repeat(false, 8),
 | 
					                BitVec::repeat(false, 8),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -101,7 +101,7 @@ mod tests_feature_cp437 {
 | 
				
			||||||
        ⌡"#;
 | 
					        ⌡"#;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let cp437 = Cp437Converter::str_to_cp437(utf8);
 | 
					        let cp437 = Cp437Converter::str_to_cp437(utf8);
 | 
				
			||||||
        let actual = Cp437Converter::cp437_to_str(&*cp437);
 | 
					        let actual = Cp437Converter::cp437_to_str(&cp437);
 | 
				
			||||||
        assert_eq!(utf8, actual)
 | 
					        assert_eq!(utf8, actual)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue