Skip to content

Option to change how websocket data frames are returned to the client

Sign in for the full log view
GitHub Actions / Clippy Report succeeded Jan 23, 2025 in 0s

Clippy Report

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 61 in core/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Report

this `impl` can be derived

warning: this `impl` can be derived
  --> core/src/lib.rs:57:1
   |
57 | / impl Default for FrameType {
58 | |     fn default() -> Self {
59 | |         FrameType::Binary
60 | |     }
61 | | }
   | |_^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
   = note: `#[warn(clippy::derivable_impls)]` on by default
   = help: remove the manual implementation...
help: ...and instead derive it...
   |
40 + #[derive(Default)]
41 | pub enum FrameType {
   |
help: ...and mark the default variant
   |
42 ~     #[default]
43 ~     Binary,
   |

Check warning on line 61 in core/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Report

this `impl` can be derived

warning: this `impl` can be derived
  --> core/src/lib.rs:57:1
   |
57 | / impl Default for FrameType {
58 | |     fn default() -> Self {
59 | |         FrameType::Binary
60 | |     }
61 | | }
   | |_^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
   = note: `#[warn(clippy::derivable_impls)]` on by default
   = help: remove the manual implementation...
help: ...and instead derive it...
   |
40 + #[derive(Default)]
41 | pub enum FrameType {
   |
help: ...and mark the default variant
   |
42 ~     #[default]
43 ~     Binary,
   |

Check warning on line 61 in core/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Report

this `impl` can be derived

warning: this `impl` can be derived
  --> core/src/lib.rs:57:1
   |
57 | / impl Default for FrameType {
58 | |     fn default() -> Self {
59 | |         FrameType::Binary
60 | |     }
61 | | }
   | |_^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
   = note: `#[warn(clippy::derivable_impls)]` on by default
   = help: remove the manual implementation...
help: ...and instead derive it...
   |
40 + #[derive(Default)]
41 | pub enum FrameType {
   |
help: ...and mark the default variant
   |
42 ~     #[default]
43 ~     Binary,
   |