Inline tail-recursive operations #138
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
src/raw/mod.rs|586 col 27| warning: this lifetime isn't used in the function definition
--> src/raw/mod.rs:586:27
|
586 | unsafe fn insert_slow<'g>(
| ^^
|
= 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
src/raw/mod.rs|1045 col 17| warning: the following explicit lifetimes could be elided: 'g
--> src/raw/mod.rs:1045:17
|
1045 | pub fn iter<'g, G>(mut self, guard: &'g G) -> Iter<'g, K, V, G>
| ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
1045 - pub fn iter<'g, G>(mut self, guard: &'g G) -> Iter<'g, K, V, G>
1045 + pub fn iter(mut self, guard: &G) -> Iter<'_, K, V, G>
|
Filtered Findings (0)
Annotations
Check warning on line 586 in src/raw/mod.rs
github-actions / clippy
[clippy] src/raw/mod.rs#L586
warning: this lifetime isn't used in the function definition
--> src/raw/mod.rs:586:27
|
586 | unsafe fn insert_slow<'g>(
| ^^
|
= 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
Raw output
src/raw/mod.rs:586:27:w:warning: this lifetime isn't used in the function definition
--> src/raw/mod.rs:586:27
|
586 | unsafe fn insert_slow<'g>(
| ^^
|
= 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
__END__
Check warning on line 1045 in src/raw/mod.rs
github-actions / clippy
[clippy] src/raw/mod.rs#L1045
warning: the following explicit lifetimes could be elided: 'g
--> src/raw/mod.rs:1045:17
|
1045 | pub fn iter<'g, G>(mut self, guard: &'g G) -> Iter<'g, K, V, G>
| ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
1045 - pub fn iter<'g, G>(mut self, guard: &'g G) -> Iter<'g, K, V, G>
1045 + pub fn iter<G>(mut self, guard: &G) -> Iter<'_, K, V, G>
|
Raw output
src/raw/mod.rs:1045:17:w:warning: the following explicit lifetimes could be elided: 'g
--> src/raw/mod.rs:1045:17
|
1045 | pub fn iter<'g, G>(mut self, guard: &'g G) -> Iter<'g, K, V, G>
| ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
1045 - pub fn iter<'g, G>(mut self, guard: &'g G) -> Iter<'g, K, V, G>
1045 + pub fn iter<G>(mut self, guard: &G) -> Iter<'_, K, V, G>
|
__END__