Skip to content

Merge pull request #48 from simnalamburt/security #6

Merge pull request #48 from simnalamburt/security

Merge pull request #48 from simnalamburt/security #6

GitHub Actions / clippy succeeded Nov 29, 2024 in 0s

clippy

13 warnings

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 1583 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

statement with no effect

warning: statement with no effect
    --> src/lib.rs:1583:9
     |
1583 |         map[4];
     |         ^^^^^^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect
     = note: `#[warn(clippy::no_effect)]` on by default

Check warning on line 1073 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
    --> src/lib.rs:1073:6
     |
1073 | impl<'a, V> ExactSizeIterator for ValuesMut<'a, V> {}
     |      ^^                                     ^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
     |
1073 - impl<'a, V> ExactSizeIterator for ValuesMut<'a, V> {}
1073 + impl<V> ExactSizeIterator for ValuesMut<'_, V> {}
     |

Check warning on line 1054 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
    --> src/lib.rs:1054:6
     |
1054 | impl<'a, V> ExactSizeIterator for Values<'a, V> {}
     |      ^^                                  ^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
     |
1054 - impl<'a, V> ExactSizeIterator for Values<'a, V> {}
1054 + impl<V> ExactSizeIterator for Values<'_, V> {}
     |

Check warning on line 1037 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
    --> src/lib.rs:1037:6
     |
1037 | impl<'a, V> DoubleEndedIterator for Keys<'a, V> {
     |      ^^                                  ^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
     |
1037 - impl<'a, V> DoubleEndedIterator for Keys<'a, V> {
1037 + impl<V> DoubleEndedIterator for Keys<'_, V> {
     |

Check warning on line 1035 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
    --> src/lib.rs:1035:6
     |
1035 | impl<'a, V> ExactSizeIterator for Keys<'a, V> {}
     |      ^^                                ^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
     |
1035 - impl<'a, V> ExactSizeIterator for Keys<'a, V> {}
1035 + impl<V> ExactSizeIterator for Keys<'_, V> {}
     |

Check warning on line 1024 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
    --> src/lib.rs:1024:6
     |
1024 | impl<'a, V> Iterator for Keys<'a, V> {
     |      ^^                       ^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
     |
1024 - impl<'a, V> Iterator for Keys<'a, V> {
1024 + impl<V> Iterator for Keys<'_, V> {
     |

Check warning on line 1018 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
    --> src/lib.rs:1018:6
     |
1018 | impl<'a, V> DoubleEndedIterator for Drain<'a, V> {
     |      ^^                                   ^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
     |
1018 - impl<'a, V> DoubleEndedIterator for Drain<'a, V> {
1018 + impl<V> DoubleEndedIterator for Drain<'_, V> {
     |

Check warning on line 1016 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
    --> src/lib.rs:1016:6
     |
1016 | impl<'a, V> ExactSizeIterator for Drain<'a, V> {}
     |      ^^                                 ^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
     |
1016 - impl<'a, V> ExactSizeIterator for Drain<'a, V> {}
1016 + impl<V> ExactSizeIterator for Drain<'_, V> {}
     |

Check warning on line 1005 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
    --> src/lib.rs:1005:6
     |
1005 | impl<'a, V> Iterator for Drain<'a, V> {
     |      ^^                        ^^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
     |
1005 - impl<'a, V> Iterator for Drain<'a, V> {
1005 + impl<V> Iterator for Drain<'_, V> {
     |

Check warning on line 954 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/lib.rs:954:6
    |
954 | impl<'a, V> ExactSizeIterator for IterMut<'a, V> {}
    |      ^^                                   ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
954 - impl<'a, V> ExactSizeIterator for IterMut<'a, V> {}
954 + impl<V> ExactSizeIterator for IterMut<'_, V> {}
    |

Check warning on line 940 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/lib.rs:940:6
    |
940 | impl<'a, V> ExactSizeIterator for Iter<'a, V> {}
    |      ^^                                ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
940 - impl<'a, V> ExactSizeIterator for Iter<'a, V> {}
940 + impl<V> ExactSizeIterator for Iter<'_, V> {}
    |

Check warning on line 861 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/lib.rs:861:6
    |
861 | impl<'a, V> IndexMut<&'a usize> for VecMap<V> {
    |      ^^               ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
861 - impl<'a, V> IndexMut<&'a usize> for VecMap<V> {
861 + impl<V> IndexMut<&usize> for VecMap<V> {
    |

Check warning on line 845 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/lib.rs:845:6
    |
845 | impl<'a, V> Index<&'a usize> for VecMap<V> {
    |      ^^            ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
    |
845 - impl<'a, V> Index<&'a usize> for VecMap<V> {
845 + impl<V> Index<&usize> for VecMap<V> {
    |