Skip to content

Commit

Permalink
clippy prefers slices to vec refs
Browse files Browse the repository at this point in the history
  • Loading branch information
xoloki committed Oct 28, 2024
1 parent 86c2f48 commit 30839f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state_machine/coordinator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ pub mod test {
pub fn run_sign<Coordinator: CoordinatorTrait, SignerType: SignerTrait>(
coordinators: &mut [Coordinator],
signers: &mut Vec<Signer<SignerType>>,
msg: &Vec<u8>,
msg: &[u8],
signature_type: SignatureType,
) -> OperationResult {
// Start a signing round
Expand Down

0 comments on commit 30839f6

Please sign in to comment.