diff --git a/vello_shaders/src/cpu.rs b/vello_shaders/src/cpu.rs index 443f7f66..ae297716 100644 --- a/vello_shaders/src/cpu.rs +++ b/vello_shaders/src/cpu.rs @@ -7,6 +7,10 @@ //! a full CPU fallback as an alternative to GPU shaders is not provided. // Allow un-idiomatic Rust to more closely match shaders +#![expect( + clippy::needless_range_loop, + reason = "Keeps code easily comparable to GPU shaders" +)] mod backdrop; mod bbox_clear; diff --git a/vello_shaders/src/lib.rs b/vello_shaders/src/lib.rs index ae46c05a..60893ec3 100644 --- a/vello_shaders/src/lib.rs +++ b/vello_shaders/src/lib.rs @@ -45,7 +45,6 @@ clippy::missing_assert_message, clippy::missing_errors_doc, clippy::missing_panics_doc, - clippy::needless_range_loop, clippy::print_stderr, clippy::print_stdout, clippy::shadow_unrelated,