Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump crate-ci/typos from 1.26.8 to 1.28.4 #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

chore(deps): bump crate-ci/typos from 1.26.8 to 1.28.4

2d6937d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

chore(deps): bump crate-ci/typos from 1.26.8 to 1.28.4 #105

chore(deps): bump crate-ci/typos from 1.26.8 to 1.28.4
2d6937d
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Dec 17, 2024 in 0s

clippy

8 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 8
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 166 in src/iterable/dataloader.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'dataset

warning: the following explicit lifetimes could be elided: 'dataset
   --> src/iterable/dataloader.rs:166:6
    |
166 | impl<'dataset, D, C> Iterator for Iter<'dataset, D, C>
    |      ^^^^^^^^                          ^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
166 - impl<'dataset, D, C> Iterator for Iter<'dataset, D, C>
166 + impl<D, C> Iterator for Iter<'_, D, C>
    |

Check warning on line 42 in src/indexable/fetch.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'dataset

warning: the following explicit lifetimes could be elided: 'dataset
  --> src/indexable/fetch.rs:42:6
   |
42 | impl<'dataset, D, C> Fetcher<D, C> for MapDatasetFetcher<'dataset, D, C>
   |      ^^^^^^^^                                            ^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
42 - impl<'dataset, D, C> Fetcher<D, C> for MapDatasetFetcher<'dataset, D, C>
42 + impl<D, C> Fetcher<D, C> for MapDatasetFetcher<'_, D, C>
   |

Check warning on line 157 in src/indexable/dataloader.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'dataset

warning: the following explicit lifetimes could be elided: 'dataset
   --> src/indexable/dataloader.rs:157:6
    |
157 | impl<'dataset, D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'dataset, D, S, C>
    |      ^^^^^^^^                                                             ^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
157 - impl<'dataset, D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'dataset, D, S, C>
157 + impl<D, S, C> ExactSizeIterator for SingleProcessDataLoaderIter<'_, D, S, C>
    |

Check warning on line 119 in src/indexable/dataloader.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'dataset

warning: the following explicit lifetimes could be elided: 'dataset
   --> src/indexable/dataloader.rs:119:6
    |
119 | impl<'dataset, D, S, C> Iterator for SingleProcessDataLoaderIter<'dataset, D, S, C>
    |      ^^^^^^^^                                                    ^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
119 - impl<'dataset, D, S, C> Iterator for SingleProcessDataLoaderIter<'dataset, D, S, C>
119 + impl<D, S, C> Iterator for SingleProcessDataLoaderIter<'_, D, S, C>
    |

Check warning on line 89 in src/indexable/dataloader.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'dataset

warning: the following explicit lifetimes could be elided: 'dataset
  --> src/indexable/dataloader.rs:89:6
   |
89 | impl<'dataset, D, S, C> SingleProcessDataLoaderIter<'dataset, D, S, C>
   |      ^^^^^^^^                                       ^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `-W clippy::needless-lifetimes` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
   |
89 - impl<'dataset, D, S, C> SingleProcessDataLoaderIter<'dataset, D, S, C>
89 + impl<D, S, C> SingleProcessDataLoaderIter<'_, D, S, C>
   |

Check warning on line 10 in src/collate/default_collate/nonzero.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

empty line after doc comment

warning: empty line after doc comment
  --> src/collate/default_collate/nonzero.rs:9:1
   |
9  | / /// Maybe this one may not be supported by a tensor running on a GPU.
10 | |
   | |_
11 |   macro_rules! nonzero_impl {
   |   ------------------------- the comment documents this macro
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
   = note: `-W clippy::empty-line-after-doc-comments` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::empty_line_after_doc_comments)]`
   = help: if the empty line is unintentional remove it

Check warning on line 41 in src/indexable/dataset.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

trait `FunctorDataset` is never used

warning: trait `FunctorDataset` is never used
  --> src/indexable/dataset.rs:41:7
   |
41 | trait FunctorDataset<F>: Len + GetSample
   |       ^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 155 in src/iterable/dataloader.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

elided lifetime has a name

warning: elided lifetime has a name
   --> src/iterable/dataloader.rs:155:41
    |
147 | impl<'dataset, D, C> DataLoader<D, C>
    |      -------- lifetime `'dataset` declared here
...
155 |     pub fn iter(&'dataset self) -> Iter<'_, <&'dataset D as IntoIterator>::IntoIter, C> {
    |                                         ^^ this elided lifetime gets resolved as `'dataset`
    |
    = note: `#[warn(elided_named_lifetimes)]` on by default