Skip to content

Introducing Zung Torrent. #113

Introducing Zung Torrent.

Introducing Zung Torrent. #113

GitHub Actions / clippy failed Nov 14, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

zung_torrent/src/meta_info/files.rs|181 col 6| warning: the following explicit lifetimes could be elided: 'a
--> zung_torrent/src/meta_info/files.rs:181:6
|
181 | impl<'a> FileTree<'a> {
| ^^ ^^
|
= 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
|
181 - impl<'a> FileTree<'a> {
181 + impl FileTree<'> {
|
zung_torrent/src/meta_info/pieces.rs|18 col 6| warning: the following explicit lifetimes could be elided: 'de
--> zung_torrent/src/meta_info/pieces.rs:18:6
|
18 | impl<'de> Visitor<'de> for PiecesVisitor {
| ^^^ ^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
18 - impl<'de> Visitor<'de> for PiecesVisitor {
18 + impl Visitor<'
> for PiecesVisitor {
|

Filtered Findings (0)

Annotations

Check warning on line 181 in zung_torrent/src/meta_info/files.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] zung_torrent/src/meta_info/files.rs#L181

warning: the following explicit lifetimes could be elided: 'a
   --> zung_torrent/src/meta_info/files.rs:181:6
    |
181 | impl<'a> FileTree<'a> {
    |      ^^           ^^
    |
    = 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
    |
181 - impl<'a> FileTree<'a> {
181 + impl FileTree<'_> {
    |
Raw output
zung_torrent/src/meta_info/files.rs:181:6:w:warning: the following explicit lifetimes could be elided: 'a
   --> zung_torrent/src/meta_info/files.rs:181:6
    |
181 | impl<'a> FileTree<'a> {
    |      ^^           ^^
    |
    = 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
    |
181 - impl<'a> FileTree<'a> {
181 + impl FileTree<'_> {
    |


__END__

Check warning on line 18 in zung_torrent/src/meta_info/pieces.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] zung_torrent/src/meta_info/pieces.rs#L18

warning: the following explicit lifetimes could be elided: 'de
  --> zung_torrent/src/meta_info/pieces.rs:18:6
   |
18 | impl<'de> Visitor<'de> for PiecesVisitor {
   |      ^^^          ^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
18 - impl<'de> Visitor<'de> for PiecesVisitor {
18 + impl Visitor<'_> for PiecesVisitor {
   |
Raw output
zung_torrent/src/meta_info/pieces.rs:18:6:w:warning: the following explicit lifetimes could be elided: 'de
  --> zung_torrent/src/meta_info/pieces.rs:18:6
   |
18 | impl<'de> Visitor<'de> for PiecesVisitor {
   |      ^^^          ^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
18 - impl<'de> Visitor<'de> for PiecesVisitor {
18 + impl Visitor<'_> for PiecesVisitor {
   |


__END__