Migrate Python library to uv #616
clippy.yml
on: pull_request
check-rust-clippy
1m 8s
Annotations
4 warnings
unused import: `net::SocketAddr`:
y-sweet/src/server.rs#L20
warning: unused import: `net::SocketAddr`
--> y-sweet/src/server.rs:20:5
|
20 | net::SocketAddr,
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
the following explicit lifetimes could be elided: 'a:
y-sweet-core/src/sync_kv.rs#L132
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 {
|
|
the following explicit lifetimes could be elided: 'd:
y-sweet-core/src/sync_kv.rs#L93
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 {}
|
|
the following explicit lifetimes could be elided: 'a:
y-sweet-core/src/sync/mod.rs#L308
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> {
|
|