Skip to content

implement read-only auth #567

implement read-only auth

implement read-only auth #567

GitHub Actions / clippy succeeded Jan 17, 2025 in 1s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
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

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 {}
   |