From 681a023b04b513b3283d85fe157d6b38987bc42e Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Tue, 18 Feb 2025 21:15:00 +0200 Subject: Fix clippy warnings surfaced by the merge Pre-existing issues in the uncommitted rust-rewrite work (unused imports, over-arity glyph-drawing functions, a couple of complex inline types, or_insert_with(T::default) instead of or_default(), and one unsimplified test-only arithmetic expression), plus two imports left unused by switching to or_default(). None of these are behavior changes. Full workspace build + clippy -D warnings + test suite (378 tests) all green after this. --- crates/wayland/src/state/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/wayland/src/state') diff --git a/crates/wayland/src/state/mod.rs b/crates/wayland/src/state/mod.rs index e315b2e..a3e9b1a 100644 --- a/crates/wayland/src/state/mod.rs +++ b/crates/wayland/src/state/mod.rs @@ -481,7 +481,7 @@ pub(crate) struct CompState { /// shader instead, `rounded_corners_program`), but costs nothing to /// declare here unconditionally, the same call `rounded_corners_ /// program` itself already makes. - pub(crate) rounded_content_buffers: HashMap, + pub(crate) rounded_content_buffers: crate::elements::RoundedContentCache, /// Persistent solid-colour buffers backing a window's other three /// border strips (bottom, left, right - `decoration::border_strips`' /// order past index 0), reused by position every frame rather than -- cgit v1.2.3