summaryrefslogtreecommitdiffstats
path: root/src/cos.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cos.rs')
-rw-r--r--src/cos.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cos.rs b/src/cos.rs
index a3a4f6c..1520c41 100644
--- a/src/cos.rs
+++ b/src/cos.rs
@@ -7,7 +7,6 @@ use num_traits::real::Real;
use num_traits::{one, zero};
use std::cmp::Ordering;
-use std::convert::TryFrom;
/// Compute the [cosine *similarity*] between two points.
///
@@ -398,7 +397,6 @@ where
///
/// # use acap::distance::Distance;
/// # use acap::cos::AngularDistance;
-/// # use std::convert::TryFrom;
/// let zero = AngularDistance::from_cos(1.0);
/// let pi_2 = AngularDistance::from_cos(0.0);
/// let pi = AngularDistance::from_cos(-1.0);