Compare commits

..

No commits in common. "0a1bb3bd7e238f4f97b879e97d9a4a5eba8fd5f2" and "c056016d433a5a440b5335c8db0e992975eaeeb7" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ jobs:
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
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:

View File

@ -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" {