feat(pool): update throttling logic #143
GitHub Actions / clippy
failed
Nov 6, 2023 in 1s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.71.0 (8ede3aae2 2023-07-12)
- cargo 1.71.0 (cfd3bbd8f 2023-06-08)
- clippy 0.1.71 (8ede3aa 2023-07-12)
Annotations
Check failure on line 84 in bin/rundler/src/cli/mod.rs
github-actions / clippy
large size difference between variants
error: large size difference between variants
--> bin/rundler/src/cli/mod.rs:60:1
|
60 | / enum Command {
61 | | /// Bundler command
62 | | ///
63 | | /// Runs the Pool, Builder, and RPC servers in a single process.
64 | | #[command(name = "node")]
65 | | Node(NodeCliArgs),
| | ----------------- the largest variant contains at least 432 bytes
... |
83 | | Builder(BuilderCliArgs),
| | ----------------------- the second-largest variant contains at least 224 bytes
84 | | }
| |_^ the entire enum is at least 432 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `-D clippy::large-enum-variant` implied by `-D warnings`
help: consider boxing the large fields to reduce the total size of the enum
|
65 | Node(Box<NodeCliArgs>),
| ~~~~~~~~~~~~~~~~
Loading