Fix unused variable errors

This commit is contained in:
Brendan Zabarauskas 2013-03-29 10:39:19 +11:00
parent 8989881365
commit e8c6e78cf4

View file

@ -220,7 +220,8 @@ impl<T:Copy + Float + FuzzyEq<T> + Add<T,T> + Sub<T,T> + Mul<T,T> + Div<T,T> + N
#[inline(always)] #[inline(always)]
fn swap_cols(&mut self, a: uint, b: uint) { fn swap_cols(&mut self, a: uint, b: uint) {
swap(&mut self.x, &mut self.y); swap(self.col_mut(a),
self.col_mut(b));
} }
#[inline(always)] #[inline(always)]