clippy
diff --git a/sparse_strips/vello_hybrid/examples/scenes/src/svg.rs b/sparse_strips/vello_hybrid/examples/scenes/src/svg.rs index 1b689ba..0273311 100644 --- a/sparse_strips/vello_hybrid/examples/scenes/src/svg.rs +++ b/sparse_strips/vello_hybrid/examples/scenes/src/svg.rs
@@ -84,7 +84,7 @@ impl CachedRecording { fn new() -> Self { - CachedRecording { + Self { transform_key: None, recording: Recording::new(), } @@ -130,7 +130,7 @@ scene.prepare_recording(new_recording); scene.execute_recording(new_recording); #[cfg(not(target_arch = "wasm32"))] - print_render_stats("Fresh ", start.elapsed(), &new_recording); + print_render_stats("Fresh ", start.elapsed(), new_recording); } /// Print timing and statistics for a render operation
diff --git a/sparse_strips/vello_hybrid/examples/scenes/src/text.rs b/sparse_strips/vello_hybrid/examples/scenes/src/text.rs index e79d909..6344b2e 100644 --- a/sparse_strips/vello_hybrid/examples/scenes/src/text.rs +++ b/sparse_strips/vello_hybrid/examples/scenes/src/text.rs
@@ -146,7 +146,7 @@ impl CachedRecording { fn new() -> Self { - CachedRecording { + Self { transform_key: None, recording: Recording::new(), } @@ -193,7 +193,7 @@ scene.prepare_recording(recording); scene.execute_recording(recording); #[cfg(not(target_arch = "wasm32"))] - print_render_stats("Fresh ", start.elapsed(), &recording); + print_render_stats("Fresh ", start.elapsed(), recording); } /// Print timing and statistics for a render operation