Skip to content

Change TokenFilter trait to simplify (a bit) the boxing of filters #3041

Change TokenFilter trait to simplify (a bit) the boxing of filters

Change TokenFilter trait to simplify (a bit) the boxing of filters #3041

GitHub Actions / clippy succeeded Jun 25, 2023 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.70.0 (90c541806 2023-05-31)
  • cargo 1.70.0 (ec8a8a0ca 2023-04-25)
  • clippy 0.1.70 (90c5418 2023-05-31)

Annotations

Check warning on line 27 in src/tokenizer/ascii_folding_filter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this lifetime isn't used in the impl

warning: this lifetime isn't used in the impl
  --> src/tokenizer/ascii_folding_filter.rs:27:6
   |
27 | impl<'a, T: TokenStream> TokenStream for AsciiFoldingFilterTokenStream<T> {
   |      ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
   = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default

Check warning on line 27 in src/tokenizer/ascii_folding_filter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this lifetime isn't used in the impl

warning: this lifetime isn't used in the impl
  --> src/tokenizer/ascii_folding_filter.rs:27:6
   |
27 | impl<'a, T: TokenStream> TokenStream for AsciiFoldingFilterTokenStream<T> {
   |      ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
   = note: `#[warn(clippy::extra_unused_lifetimes)]` on by default