Fix default flow's next-incoming-id (#43) #350
GitHub Actions / clippy
succeeded
Mar 12, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (4a0cc881d 2024-03-11)
- cargo 1.78.0-nightly (a4c63fe53 2024-03-06)
- clippy 0.1.78 (4a0cc88 2024-03-11)
Annotations
Check warning on line 10 in src/cell.rs
github-actions / clippy
struct `WeakCell` is never constructed
warning: struct `WeakCell` is never constructed
--> src/cell.rs:10:19
|
10 | pub(crate) struct WeakCell<T> {
| ^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Check warning on line 263 in codec/src/message/message.rs
github-actions / clippy
assigning the result of `Clone::clone()` may be inefficient
warning: assigning the result of `Clone::clone()` may be inefficient
--> codec/src/message/message.rs:263:40
|
263 | msg.set_properties(|props| props.correlation_id = data.message_id.clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `props.correlation_id.clone_from(&data.message_id)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
= note: `#[warn(clippy::assigning_clones)]` on by default
Loading