diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-08 15:08:26 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-08 15:45:14 +0200 |
| commit | 712c00ecb72b67da2c0788e5d3eb4dcc6366b2a7 (patch) | |
| tree | f5d7ef4341a4728c980d020cc173fa6bb70feaff /src/geom/mod.rs | |
| parent | 977ac77e6a3298be2644a8231e93acbef9f7f396 (diff) | |
Em units
Diffstat (limited to 'src/geom/mod.rs')
| -rw-r--r-- | src/geom/mod.rs | 6 |
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; } |
