summaryrefslogtreecommitdiff
path: root/src/geom/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geom/mod.rs')
-rw-r--r--src/geom/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/geom/mod.rs b/src/geom/mod.rs
index bfb450a1..a6f53c87 100644
--- a/src/geom/mod.rs
+++ b/src/geom/mod.rs
@@ -72,15 +72,15 @@ pub trait Numeric:
+ Mul<f64, Output = Self>
+ Div<f64, Output = Self>
{
- /// The identity element.
+ /// The identity element for addition.
fn zero() -> Self;
- /// Whether `self` is the identity element.
+ /// Whether `self` is zero.
fn is_zero(self) -> bool {
self == Self::zero()
}
- /// Whether `self` contains only finite parts.
+ /// Whether `self` consists only of finite parts.
fn is_finite(self) -> bool;
}