Change: change LeaderId<NID:NodeId>
to LeaderId<C:RaftTypeConfig>
#3397
Annotations
10 errors and 5 warnings
clippy:
openraft/src/vote/leader_id/leader_id_std.rs#L6
unused import: `crate::NodeId`
|
clippy:
openraft/src/vote/leader_id/leader_id_std.rs#L121
the function or associated item `new` exists for struct `CommittedLeaderId<u32>`, but its trait bounds were not satisfied
|
clippy:
openraft/src/vote/leader_id/leader_id_std.rs#L126
the trait bound `u32: type_config::RaftTypeConfig` is not satisfied
|
clippy:
openraft/src/vote/leader_id/leader_id_std.rs#L126
the trait bound `u32: type_config::RaftTypeConfig` is not satisfied
|
clippy
could not compile `openraft` (lib test) due to 4 previous errors
|
clippy:
openraft/src/engine/log_id_list.rs#L153
using `clone` on type `CommittedLeaderId<C>` which implements the `Copy` trait
|
clippy:
openraft/src/engine/log_id_list.rs#L161
using `clone` on type `CommittedLeaderId<C>` which implements the `Copy` trait
|
clippy:
openraft/src/engine/log_id_list.rs#L239
using `clone` on type `CommittedLeaderId<C>` which implements the `Copy` trait
|
clippy:
openraft/src/engine/log_id_list.rs#L284
using `clone` on type `CommittedLeaderId<C>` which implements the `Copy` trait
|
clippy:
openraft/src/engine/log_id_list.rs#L289
using `clone` on type `CommittedLeaderId<C>` which implements the `Copy` trait
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run actions-rs/[email protected]
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run actions-rs/[email protected]
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run actions-rs/[email protected]
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run actions-rs/[email protected]
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading