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/core/bound.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/bound.rs') diff --git a/src/core/bound.rs b/src/core/bound.rs index 404424e..3978028 100644 --- a/src/core/bound.rs +++ b/src/core/bound.rs @@ -83,7 +83,7 @@ impl Bound2 { /// ``` pub fn area(&self) -> T { let diag = self.diagonal(); - return diag.x * diag.y; + diag.x * diag.y } } -- cgit v1.2.3