Skip to content

v0.7.0

v0.7.0 #638

GitHub Actions / clippy succeeded Dec 18, 2024 in 1s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
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 132 in y-sweet-core/src/sync_kv.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> y-sweet-core/src/sync_kv.rs:132:6
    |
132 | impl<'a> yrs_kvstore::KVStore<'a> for SyncKv {
    |      ^^                       ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
132 - impl<'a> yrs_kvstore::KVStore<'a> for SyncKv {
132 + impl yrs_kvstore::KVStore<'_> for SyncKv {
    |

Check warning on line 93 in y-sweet-core/src/sync_kv.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'd

warning: the following explicit lifetimes could be elided: 'd
  --> y-sweet-core/src/sync_kv.rs:93:6
   |
93 | impl<'d> DocOps<'d> for SyncKv {}
   |      ^^         ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
93 - impl<'d> DocOps<'d> for SyncKv {}
93 + impl DocOps<'_> for SyncKv {}
   |

Check warning on line 308 in y-sweet-core/src/sync/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> y-sweet-core/src/sync/mod.rs:308:6
    |
308 | impl<'a, D: Decoder> Iterator for MessageReader<'a, D> {
    |      ^^                                         ^^
    |
    = 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
    |
308 - impl<'a, D: Decoder> Iterator for MessageReader<'a, D> {
308 + impl<D: Decoder> Iterator for MessageReader<'_, D> {
    |