Skip to content

obey clippy

obey clippy #212

GitHub Actions / clippy failed Aug 3, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.64.0 (a55dd71d5 2022-09-19)
  • cargo 1.64.0 (387270bc7 2022-09-16)
  • clippy 0.1.64 (a55dd71 2022-09-19)

Annotations

Check failure on line 135 in src/array.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `get_mut` is not a member of trait `ArrayMut`

error[E0407]: method `get_mut` is not a member of trait `ArrayMut`
   --> src/array.rs:133:5
    |
133 | /     fn get_mut(&mut self, i: usize) -> Option<&mut T> {
134 | |         <[T]>::get_mut(self, i)
135 | |     }
    | |_____^ not a member of trait `ArrayMut`

Check failure on line 117 in src/array.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `get` is not a member of trait `Array`

error[E0407]: method `get` is not a member of trait `Array`
   --> src/array.rs:112:5
    |
112 | /     fn get<I>(&self, i: I) -> Option<&<I as SliceIndex<[T]>>::Output>
113 | |     where
114 | |         I: SliceIndex<[T]>,
115 | |     {
116 | |         <[T]>::get(self, i)
117 | |     }
    | |_____^ not a member of trait `Array`