aboutsummaryrefslogtreecommitdiff
path: root/src/core/bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/bound.rs')
-rw-r--r--src/core/bound.rs2
1 files changed, 1 insertions, 1 deletions
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<T: Number> Bound2<T> {
/// ```
pub fn area(&self) -> T {
let diag = self.diagonal();
- return diag.x * diag.y;
+ diag.x * diag.y
}
}