implement read-only auth #642
GitHub Actions / clippy
succeeded
Jan 15, 2025 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0 (9fc6b4312 2025-01-07)
- cargo 1.84.0 (66221abde 2024-11-19)
- clippy 0.1.84 (9fc6b43126 2025-01-07)
Annotations
Check warning on line 132 in y-sweet-core/src/sync_kv.rs
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
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
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> {
|
Loading