diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index afe7899..dfee8b3 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -8,7 +8,7 @@ env: jobs: check: name: Check - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout sources uses: actions/checkout@v2 @@ -30,7 +30,7 @@ jobs: lints: name: Lints - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout sources uses: actions/checkout@v2 @@ -79,4 +79,4 @@ jobs: uses: Swatinem/rust-cache@v1 - name: Run tests - run: cargo test --verbose \ No newline at end of file + run: cargo test --verbose diff --git a/src/commands/count.rs b/src/commands/count.rs index 1af2f79..d9f148b 100644 --- a/src/commands/count.rs +++ b/src/commands/count.rs @@ -504,7 +504,7 @@ struct CountStats { zero_read_guides: u64, } -impl<'a> CountResult<'a> { +impl CountResult<'_> { /// Returns the total number of reads that mapped to a guide. pub fn mapped_reads(&self) -> u64 { self.counts.values().sum()