Compare commits
	
		
			No commits in common. "0a1bb3bd7e238f4f97b879e97d9a4a5eba8fd5f2" and "c056016d433a5a440b5335c8db0e992975eaeeb7" have entirely different histories.
		
	
	
		
			0a1bb3bd7e
			...
			c056016d43
		
	
		
							
								
								
									
										8
									
								
								.github/workflows/rust.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/rust.yml
									
									
									
									
										vendored
									
									
								
							| @ -31,10 +31,10 @@ jobs: | ||||
|       with: | ||||
|         command: check | ||||
|     - name: Annotate commit with clippy warnings | ||||
|       uses: actions-rs/clippy-check@v1 | ||||
|       with: | ||||
|         token: ${{ secrets.GITHUB_TOKEN }} | ||||
|         args: --all-features -- -Wclippy::all -Wclippy::pedantic -Wclippy::nursery -Wclippy::cargo -Aclippy::non_ascii_literal -Aclippy::missing_errors_doc -Aclippy::multiple_crate_versions | ||||
|         uses: actions-rs/clippy-check@v1 | ||||
|         with: | ||||
|           token: ${{ secrets.GITHUB_TOKEN }} | ||||
|           args: --all-features -W clippy::all -W clippy::pedantic -W clippy::nursery -W clippy::cargo -A clippy::non_ascii_literal -A clippy::missing_errors_doc -A clippy::clippy::multiple_crate_versions | ||||
|     - name: Run cargo Build | ||||
|       uses: actions-rs/cargo@v1 | ||||
|       with: | ||||
|  | ||||
| @ -120,7 +120,7 @@ impl LockedFileGuard { | ||||
|             |_| Ok(()), | ||||
|         )?; | ||||
|         // Read the last character
 | ||||
|         let mut b = [0_u8; 1]; | ||||
|         let mut b = [0 as u8; 1]; | ||||
|         self.file.read_exact(&mut b)?; | ||||
|         // Verify it is '\n' else append '\n' so in any case the file ends with with a newline now
 | ||||
|         if &b != b"\n" { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user