From c0fb48f8619c45512571a66c2f5d14a9b644f334 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Thu, 7 Feb 2013 08:28:48 +1100 Subject: [PATCH] Use capitalised Self type --- src/mat.rs | 2 +- src/vec.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mat.rs b/src/mat.rs index d9f57ad..f48d832 100644 --- a/src/mat.rs +++ b/src/mat.rs @@ -18,7 +18,7 @@ pub use mat4::{Mat4, mat4, dmat4}; * floating point type and have the same number of dimensions as the * number of rows and columns in the matrix. */ -pub trait Matrix: Index Eq Neg { +pub trait Matrix: Index Eq Neg { /** * # Return value * diff --git a/src/vec.rs b/src/vec.rs index b259ba9..c6af9a5 100644 --- a/src/vec.rs +++ b/src/vec.rs @@ -67,7 +67,7 @@ pub trait Vector4: Vector { /** * A vector with numeric components */ -pub trait NumericVector: Vector Neg { +pub trait NumericVector: Vector Neg { /** * The standard basis vector *