summaryrefslogtreecommitdiffstats
path: root/src/euclid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/euclid.rs')
-rw-r--r--src/euclid.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/euclid.rs b/src/euclid.rs
index 3ec0af9..e1ee3c9 100644
--- a/src/euclid.rs
+++ b/src/euclid.rs
@@ -7,7 +7,6 @@ use crate::lp::Minkowski;
use num_traits::zero;
use std::cmp::Ordering;
-use std::convert::TryFrom;
/// A point in Euclidean space.
///
@@ -155,7 +154,6 @@ where
///
/// # use acap::distance::Distance;
/// # use acap::euclid::EuclideanDistance;
-/// # use std::convert::TryFrom;
/// let a = EuclideanDistance::try_from(3).unwrap();
/// let b = EuclideanDistance::try_from(4).unwrap();
/// let c = EuclideanDistance::from_squared(a.squared_value() + b.squared_value());