From 2485472023a101ea3329bc4a50a798ebedb07b95 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Sat, 27 May 2017 18:23:31 +0000 Subject: [PATCH] Remove explicit lifetime, caught by clippy. --- src/curve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curve.rs b/src/curve.rs index 045da8c..2d91d38 100644 --- a/src/curve.rs +++ b/src/curve.rs @@ -1181,7 +1181,7 @@ pub mod vartime { impl Index for OddMultiples { type Output = ProjectiveNielsPoint; - fn index<'a>(&'a self, _index: usize) -> &'a ProjectiveNielsPoint { + fn index(&self, _index: usize) -> &ProjectiveNielsPoint { &(self.0[_index]) } }