From 2073b8460a17b882d56ccdf8ff47102588f44c10 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sun, 15 Nov 2026 17:45:22 -0800 Subject: [PATCH] Revolve: surface() allows Clippy's type_complexity lint Merging main added a fifth value to the tuple surface() returns, which Clippy's type_complexity lint rejects under -D warnings. The function now allows that lint next to too_many_arguments, as crates/eps/src/ai_graph.rs does. --- crates/effects/src/revolve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/effects/src/revolve.rs b/crates/effects/src/revolve.rs index 4322778a51..5f834fac64 100644 --- a/crates/effects/src/revolve.rs +++ b/crates/effects/src/revolve.rs @@ -478,7 +478,7 @@ fn group_shadow( /// Geometry does ([`crate::solids::classic::surface`]). The last two values are whether the faces /// go over an underlay of themselves ([`seals`]): the caller seals them ([`sealed_surface`], /// [`sealed_runs`]) in the order it draws them; and whether the faces were left out. -#[allow(clippy::too_many_arguments)] +#[allow(clippy::too_many_arguments, clippy::type_complexity)] fn surface( doc: Option<&Document>, n: &Node,