connection_properties: add config to recover on channel failure #500
GitHub Actions / clippy
succeeded
Jul 27, 2024 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.80.0 (051478957 2024-07-21)
- cargo 1.80.0 (376290515 2024-07-16)
- clippy 0.1.80 (0514789 2024-07-21)
Annotations
Check warning on line 632 in src/channel.rs
github-actions / clippy
usage of a legacy numeric method
warning: usage of a legacy numeric method
--> src/channel.rs:632:57
|
632 | self.configuration.set_frame_max(FrameSize::max_value());
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
632 | self.configuration.set_frame_max(FrameSize::MAX);
| ~~~
Check warning on line 621 in src/channel.rs
github-actions / clippy
usage of a legacy numeric method
warning: usage of a legacy numeric method
--> src/channel.rs:621:59
|
621 | self.configuration.set_channel_max(ChannelId::max_value());
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: `-W clippy::legacy-numeric-constants` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::legacy_numeric_constants)]`
help: use the associated constant instead
|
621 | self.configuration.set_channel_max(ChannelId::MAX);
| ~~~
Loading