diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fdd5e8..2592a2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,13 +38,10 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable with: - components: rustfmt, clippy + components: rustfmt - name: Cache uses: Swatinem/rust-cache@v2 - name: Format check run: cargo fmt --check - - - name: Clippy - run: cargo clippy -- -D warnings diff --git a/src/renderer.rs b/src/renderer.rs index 5a9f0bd..4a1fa2e 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -85,7 +85,6 @@ impl Renderer { } } - #[allow(clippy::too_many_arguments)] // buf+bw+bh are an inherent unit for pixel buffers fn blit( &mut self, buf: &mut [u32], @@ -131,7 +130,6 @@ impl Renderer { } } - #[allow(clippy::too_many_arguments)] fn fill_rect( buf: &mut [u32], bw: usize, @@ -177,7 +175,6 @@ impl Renderer { } /// Filled rounded rectangle with radius `r` pixels (circular corners). - #[allow(clippy::too_many_arguments)] fn fill_rounded( buf: &mut [u32], bw: usize, @@ -363,7 +360,6 @@ impl Renderer { // ── Public render ───────────────────────────────────────────────────────── /// `hover` — hovered tab index, or `tabs.len()` for the + button. - #[allow(clippy::too_many_arguments)] pub fn render( &mut self, buf: &mut [u32],