summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-06-25 11:45:12 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-06-25 11:45:12 -0400
commitb4e301a2a4e6e00a1b521cae8e1a015ab8fc2b54 (patch)
tree92cd86c4c1554592458d2a3f77d3201e1be8de40 /src
parent57f4d9dbe851439b24e31977b8c5dc60e246dda3 (diff)
downloadacap-b4e301a2a4e6e00a1b521cae8e1a015ab8fc2b54.tar.xz
euclid: Fix a doc typo (s/Createa/Creates/)
Diffstat (limited to 'src')
-rw-r--r--src/euclid.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/euclid.rs b/src/euclid.rs
index 1da2473..4f2309a 100644
--- a/src/euclid.rs
+++ b/src/euclid.rs
@@ -156,7 +156,7 @@ where
pub struct EuclideanDistance<T>(T);
impl<T: Value> EuclideanDistance<T> {
- /// Createa a `EuclideanDistance` from an already-squared value.
+ /// Creates a `EuclideanDistance` from an already-squared value.
pub fn from_squared(value: T) -> Self {
debug_assert!(!value.is_negative());
Self(value)