Skip to content

Commit 27841ca

Browse files
aganders3jturner314
authored andcommitted
fix(clippy): remove unused lifetimes from trait impls
1 parent bfb7ad8 commit 27841ca

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/arrayformat.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ where
189189
/// to each element.
190190
///
191191
/// The array is shown in multiline style.
192-
impl<'a, A: fmt::Display, S, D: Dimension> fmt::Display for ArrayBase<S, D>
192+
impl<A: fmt::Display, S, D: Dimension> fmt::Display for ArrayBase<S, D>
193193
where
194194
S: Data<Elem = A>,
195195
{
@@ -203,7 +203,7 @@ where
203203
/// to each element.
204204
///
205205
/// The array is shown in multiline style.
206-
impl<'a, A: fmt::Debug, S, D: Dimension> fmt::Debug for ArrayBase<S, D>
206+
impl<A: fmt::Debug, S, D: Dimension> fmt::Debug for ArrayBase<S, D>
207207
where
208208
S: Data<Elem = A>,
209209
{
@@ -231,7 +231,7 @@ where
231231
/// to each element.
232232
///
233233
/// The array is shown in multiline style.
234-
impl<'a, A: fmt::LowerExp, S, D: Dimension> fmt::LowerExp for ArrayBase<S, D>
234+
impl<A: fmt::LowerExp, S, D: Dimension> fmt::LowerExp for ArrayBase<S, D>
235235
where
236236
S: Data<Elem = A>,
237237
{
@@ -245,7 +245,7 @@ where
245245
/// to each element.
246246
///
247247
/// The array is shown in multiline style.
248-
impl<'a, A: fmt::UpperExp, S, D: Dimension> fmt::UpperExp for ArrayBase<S, D>
248+
impl<A: fmt::UpperExp, S, D: Dimension> fmt::UpperExp for ArrayBase<S, D>
249249
where
250250
S: Data<Elem = A>,
251251
{
@@ -258,7 +258,7 @@ where
258258
/// to each element.
259259
///
260260
/// The array is shown in multiline style.
261-
impl<'a, A: fmt::LowerHex, S, D: Dimension> fmt::LowerHex for ArrayBase<S, D>
261+
impl<A: fmt::LowerHex, S, D: Dimension> fmt::LowerHex for ArrayBase<S, D>
262262
where
263263
S: Data<Elem = A>,
264264
{
@@ -272,7 +272,7 @@ where
272272
/// to each element.
273273
///
274274
/// The array is shown in multiline style.
275-
impl<'a, A: fmt::Binary, S, D: Dimension> fmt::Binary for ArrayBase<S, D>
275+
impl<A: fmt::Binary, S, D: Dimension> fmt::Binary for ArrayBase<S, D>
276276
where
277277
S: Data<Elem = A>,
278278
{

src/arraytraits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ where
252252
}
253253
}
254254

255-
impl<'a, S, D> hash::Hash for ArrayBase<S, D>
255+
impl<S, D> hash::Hash for ArrayBase<S, D>
256256
where
257257
D: Dimension,
258258
S: Data,

src/dimension/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ where
333333
}
334334
}
335335

336-
impl<'a> DimensionExt for [Ix] {
336+
impl DimensionExt for [Ix] {
337337
#[inline]
338338
fn axis(&self, axis: Axis) -> Ix {
339339
self[axis.index()]

src/iterators/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ impl<A, D: Dimension> Iterator for Baseiter<A, D> {
103103
}
104104
}
105105

106-
impl<'a, A, D: Dimension> ExactSizeIterator for Baseiter<A, D> {
106+
impl<A, D: Dimension> ExactSizeIterator for Baseiter<A, D> {
107107
fn len(&self) -> usize {
108108
match self.index {
109109
None => 0,

0 commit comments

Comments
 (0)