Skip to content

Feat/stone ffi

Feat/stone ffi #1492

GitHub Actions / clippy failed Jan 6, 2025 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (3)

crates/stone/src/read/mod.rs|132 col 6| warning: the following explicit lifetimes could be elided: 'a
--> crates/stone/src/read/mod.rs:132:6
|
132 | impl<'a, R: Read> Read for StonePayloadContentReader<'a, R> {
| ^^ ^^
|
= 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
|
132 - impl<'a, R: Read> Read for StonePayloadContentReader<'a, R> {
132 + impl<R: Read> Read for StonePayloadContentReader<', R> {
|
libstone/src/lib.rs|66 col 6| warning: the following explicit lifetimes could be elided: 'a
--> libstone/src/lib.rs:66:6
|
66 | impl<'a> Read for StoneReadImpl<'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
|
66 - impl<'a> Read for StoneReadImpl<'a> {
66 + impl Read for StoneReadImpl<'
> {
|
libstone/src/lib.rs|88 col 6| warning: the following explicit lifetimes could be elided: 'a
--> libstone/src/lib.rs:88:6
|
88 | impl<'a> Seek for StoneReadImpl<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
88 - impl<'a> Seek for StoneReadImpl<'a> {
88 + impl Seek for StoneReadImpl<'_> {
|

Filtered Findings (0)

Annotations

Check warning on line 132 in crates/stone/src/read/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] crates/stone/src/read/mod.rs#L132

warning: the following explicit lifetimes could be elided: 'a
   --> crates/stone/src/read/mod.rs:132:6
    |
132 | impl<'a, R: Read> Read for StonePayloadContentReader<'a, R> {
    |      ^^                                              ^^
    |
    = 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
    |
132 - impl<'a, R: Read> Read for StonePayloadContentReader<'a, R> {
132 + impl<R: Read> Read for StonePayloadContentReader<'_, R> {
    |
Raw output
crates/stone/src/read/mod.rs:132:6:w:warning: the following explicit lifetimes could be elided: 'a
   --> crates/stone/src/read/mod.rs:132:6
    |
132 | impl<'a, R: Read> Read for StonePayloadContentReader<'a, R> {
    |      ^^                                              ^^
    |
    = 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
    |
132 - impl<'a, R: Read> Read for StonePayloadContentReader<'a, R> {
132 + impl<R: Read> Read for StonePayloadContentReader<'_, R> {
    |


__END__

Check warning on line 66 in libstone/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] libstone/src/lib.rs#L66

warning: the following explicit lifetimes could be elided: 'a
  --> libstone/src/lib.rs:66:6
   |
66 | impl<'a> Read for StoneReadImpl<'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
   |
66 - impl<'a> Read for StoneReadImpl<'a> {
66 + impl Read for StoneReadImpl<'_> {
   |
Raw output
libstone/src/lib.rs:66:6:w:warning: the following explicit lifetimes could be elided: 'a
  --> libstone/src/lib.rs:66:6
   |
66 | impl<'a> Read for StoneReadImpl<'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
   |
66 - impl<'a> Read for StoneReadImpl<'a> {
66 + impl Read for StoneReadImpl<'_> {
   |


__END__

Check warning on line 88 in libstone/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] libstone/src/lib.rs#L88

warning: the following explicit lifetimes could be elided: 'a
  --> libstone/src/lib.rs:88:6
   |
88 | impl<'a> Seek for StoneReadImpl<'a> {
   |      ^^                         ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
88 - impl<'a> Seek for StoneReadImpl<'a> {
88 + impl Seek for StoneReadImpl<'_> {
   |
Raw output
libstone/src/lib.rs:88:6:w:warning: the following explicit lifetimes could be elided: 'a
  --> libstone/src/lib.rs:88:6
   |
88 | impl<'a> Seek for StoneReadImpl<'a> {
   |      ^^                         ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
88 - impl<'a> Seek for StoneReadImpl<'a> {
88 + impl Seek for StoneReadImpl<'_> {
   |


__END__