From a98d73147cbca6252c42b0464b7584e0368db511 Mon Sep 17 00:00:00 2001 From: cartermp Date: Tue, 24 Mar 2026 09:32:54 -0700 Subject: [PATCH] update --- .github/workflows/ci.yml | 5 +---- src/renderer.rs | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-) 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], -- 2.51.2