mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 16:55:55 +00:00
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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user