small fixes for clippy compliance

This commit is contained in:
2025-10-20 14:46:04 +02:00
parent 0e191c617c
commit 88d188a794
9 changed files with 25 additions and 35 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ pub fn render_world_with_tweens(world: &TurtleWorld, zoom_level: f32) {
}
// Draw in-progress tween lines for all active tweens
for turtle in world.turtles.iter() {
for turtle in &world.turtles {
if let Some(tween) = turtle.tween_controller.current_tween() {
// Only draw if pen is down
if tween.start_params.pen_down {
@@ -132,7 +132,7 @@ pub fn render_world_with_tweens(world: &TurtleWorld, zoom_level: f32) {
}
// Draw live fill preview for all turtles that are currently filling
for turtle in world.turtles.iter() {
for turtle in &world.turtles {
if let Some(ref fill_state) = turtle.filling {
// Build all contours: completed contours + current contour with animation
let mut all_contours: Vec<Vec<Vec2>> = Vec::new();