From 30d37bc6cc63c994ab534a03219a39d66e4c4bc0 Mon Sep 17 00:00:00 2001 From: nwin Date: Sat, 15 Oct 2016 12:02:24 +0200 Subject: [PATCH] Fixed typos in point.rs and vector.rs. --- src/structs/point.rs | 12 ++++++------ src/structs/vector.rs | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/structs/point.rs b/src/structs/point.rs index 4bb95b24..ae3e9afc 100644 --- a/src/structs/point.rs +++ b/src/structs/point.rs @@ -22,7 +22,7 @@ use_euclidean_space_modules!(); /// Point of dimension 1. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -37,7 +37,7 @@ from_iterator_impl!(Point1, iterator); /// Point of dimension 2. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -54,7 +54,7 @@ from_iterator_impl!(Point2, iterator, iterator); /// Point of dimension 3. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -73,7 +73,7 @@ from_iterator_impl!(Point3, iterator, iterator, iterator); /// Point of dimension 4. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -94,7 +94,7 @@ from_iterator_impl!(Point4, iterator, iterator, iterator, iterator); /// Point of dimension 5. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -117,7 +117,7 @@ from_iterator_impl!(Point5, iterator, iterator, iterator, iterator, iterator); /// Point of dimension 6. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] diff --git a/src/structs/vector.rs b/src/structs/vector.rs index 1c3fa4d3..86929eb6 100644 --- a/src/structs/vector.rs +++ b/src/structs/vector.rs @@ -23,7 +23,7 @@ use_vector_space_modules!(); /// Vector of dimension 1. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -43,7 +43,7 @@ vec_from_homogeneous_impl!(Vector1, Vector2, y, x); /// Vector of dimension 2. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -65,7 +65,7 @@ vec_from_homogeneous_impl!(Vector2, Vector3, z, x, y); /// Vector of dimension 3. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -88,7 +88,7 @@ vec_from_homogeneous_impl!(Vector3, Vector4, w, x, y, z); /// Vector of dimension 4. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -114,7 +114,7 @@ vec_from_homogeneous_impl!(Vector4, Vector5, a, x, y, z, w); /// Vector of dimension 5. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)] @@ -141,7 +141,7 @@ vec_from_homogeneous_impl!(Vector5, Vector6, b, x, y, z, w, a); /// Vector of dimension 6. /// -/// The main differance between a point and a vector is that a vector is not affected by +/// The main difference between a point and a vector is that a vector is not affected by /// translations. #[repr(C)] #[derive(Eq, PartialEq, RustcEncodable, RustcDecodable, Clone, Hash, Debug, Copy)]