From c121d94f0b27bc04ffbdca55cd0939c1401d5a2e Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 27 Jan 2025 15:26:00 +0100 Subject: clippy: fixes and ignores --- client/src/camera.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/src/camera.rs') diff --git a/client/src/camera.rs b/client/src/camera.rs index bd86e79..ea984b3 100644 --- a/client/src/camera.rs +++ b/client/src/camera.rs @@ -23,6 +23,12 @@ pub struct Camera { pub aspect: f32, } +impl Default for Camera { + fn default() -> Self { + Self::new() + } +} + impl Camera { pub fn new() -> Self { Self { -- cgit v1.2.3-70-g09d2