From 2f3b68bebbd793e17f167db382d3f7e393fa1016 Mon Sep 17 00:00:00 2001 From: Eduard Bopp Date: Fri, 21 Nov 2014 15:59:26 +0100 Subject: [PATCH] Fix erroneous Translate documentation Looks like it's been copied & pasted without adapting. --- src/traits/geometry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/traits/geometry.rs b/src/traits/geometry.rs index fc06edf9..8a229a18 100644 --- a/src/traits/geometry.rs +++ b/src/traits/geometry.rs @@ -29,8 +29,8 @@ pub trait Translation { fn set_translation(&mut self, V); } -/// Trait of objects able to rotate other objects. This is typically implemented by matrices which -/// rotate vectors. +/// Trait of objects able to translate other objects. This is typically +/// implemented by vectors to translate points. pub trait Translate { /// Apply a translation to an object. fn translate(&self, &V) -> V;