Fixed typos in point.rs and vector.rs.

This commit is contained in:
nwin 2016-10-15 12:02:24 +02:00
parent 1c81dd2130
commit 30d37bc6cc
2 changed files with 12 additions and 12 deletions

View File

@ -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)]

View File

@ -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)]