From 49c6adb0db70ffc30eaac33b66eacf7574b34e26 Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 10 Feb 2021 23:06:48 +0100 Subject: Fixed most clippy warnings --- src/material/lambertian.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/material/lambertian.rs') diff --git a/src/material/lambertian.rs b/src/material/lambertian.rs index 65a59cc..8ef5e50 100644 --- a/src/material/lambertian.rs +++ b/src/material/lambertian.rs @@ -32,6 +32,6 @@ impl Material for Lambertian { newray.direction = i.n; } - Some((self.color.clone(), newray)) + Some((self.color, newray)) } } -- cgit v1.2.3