diff options
author | Julian T <julian@jtle.dk> | 2021-02-10 23:06:48 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-02-10 23:06:48 +0100 |
commit | 49c6adb0db70ffc30eaac33b66eacf7574b34e26 (patch) | |
tree | 60f828ce8abf962fe2d88fdeb4e04db1d7663253 /src/material/lambertian.rs | |
parent | 3a144c8c1fc83150fc06d792082db5cc4bce3cc5 (diff) |
Fixed most clippy warnings
Diffstat (limited to 'src/material/lambertian.rs')
-rw-r--r-- | src/material/lambertian.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)) } } |