From 74707ed8d2521c66b1fbdbf05d4a59f5aae64237 Mon Sep 17 00:00:00 2001 From: Colin Sherratt Date: Sun, 1 Mar 2015 13:28:38 -0500 Subject: [PATCH] fix closure syntax --- src/matrix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix.rs b/src/matrix.rs index 460a936..bfbdc50 100644 --- a/src/matrix.rs +++ b/src/matrix.rs @@ -1193,7 +1193,7 @@ impl Matrix> for Matrix4 { let one: S = one(); let inv_det = one / det; let t = self.transpose(); - let cf = |&: i, j| { + let cf = |i, j| { let mat = match i { 0 => Matrix3::from_cols(t.y.truncate_n(j), t.z.truncate_n(j),