Redesign DeserializerAdapter
trait to support deserializing using DeserializeSeed
#547
Annotations
2 errors and 3 warnings
format
Process completed with exit code 1.
|
lint
reviewdog exited with status code: 1
|
lint:
src/dds/no_key/simpledatareader.rs#L56
[clippy] reported by reviewdog 🐶
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/dds/no_key/simpledatareader.rs:56:29
|
56 | Self::try_take_one_with(&self, DA::DECODER)
| ^^^^^ help: change this to: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
Raw Output:
src/dds/no_key/simpledatareader.rs:56:29:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> src/dds/no_key/simpledatareader.rs:56:29
|
56 | Self::try_take_one_with(&self, DA::DECODER)
| ^^^^^ help: change this to: `self`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
__END__
|
lint:
src/dds/no_key/simpledatareader.rs#L83
[clippy] reported by reviewdog 🐶
warning: this bound is already specified as the supertrait of `FusedStream`
--> src/dds/no_key/simpledatareader.rs:83:13
|
83 | ) -> impl Stream<Item = ReadResult<DeserializedCacheChange<D>>> + FusedStream + '_
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
= note: `#[warn(clippy::implied_bounds_in_impls)]` on by default
help: try removing this bound
|
83 - ) -> impl Stream<Item = ReadResult<DeserializedCacheChange<D>>> + FusedStream + '_
83 + ) -> impl FusedStream<Item = ReadResult<DeserializedCacheChange<D>>> + '_
|
Raw Output:
src/dds/no_key/simpledatareader.rs:83:13:w:warning: this bound is already specified as the supertrait of `FusedStream`
--> src/dds/no_key/simpledatareader.rs:83:13
|
83 | ) -> impl Stream<Item = ReadResult<DeserializedCacheChange<D>>> + FusedStream + '_
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
= note: `#[warn(clippy::implied_bounds_in_impls)]` on by default
help: try removing this bound
|
83 - ) -> impl Stream<Item = ReadResult<DeserializedCacheChange<D>>> + FusedStream + '_
83 + ) -> impl FusedStream<Item = ReadResult<DeserializedCacheChange<D>>> + '_
|
__END__
|
lint:
src/dds/no_key/simpledatareader.rs#L93
[clippy] reported by reviewdog 🐶
warning: this bound is already specified as the supertrait of `FusedStream`
--> src/dds/no_key/simpledatareader.rs:93:13
|
93 | ) -> impl Stream<Item = ReadResult<DeserializedCacheChange<D>>> + FusedStream + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
help: try removing this bound
|
93 - ) -> impl Stream<Item = ReadResult<DeserializedCacheChange<D>>> + FusedStream + 'a
93 + ) -> impl FusedStream<Item = ReadResult<DeserializedCacheChange<D>>> + 'a
|
Raw Output:
src/dds/no_key/simpledatareader.rs:93:13:w:warning: this bound is already specified as the supertrait of `FusedStream`
--> src/dds/no_key/simpledatareader.rs:93:13
|
93 | ) -> impl Stream<Item = ReadResult<DeserializedCacheChange<D>>> + FusedStream + 'a
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#implied_bounds_in_impls
help: try removing this bound
|
93 - ) -> impl Stream<Item = ReadResult<DeserializedCacheChange<D>>> + FusedStream + 'a
93 + ) -> impl FusedStream<Item = ReadResult<DeserializedCacheChange<D>>> + 'a
|
__END__
|