Skip to content

Commit 906c012

Browse files
committed
Fix clippy warnings in stacks signer
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent c0a5e83 commit 906c012

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

stacks-signer/src/chainstate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ enum ProposedBy<'a> {
176176
CurrentSortition(&'a SortitionState),
177177
}
178178

179-
impl<'a> ProposedBy<'a> {
179+
impl ProposedBy<'_> {
180180
pub fn state(&self) -> &SortitionState {
181181
match self {
182182
ProposedBy::LastSortition(x) => x,

stacks-signer/src/cli.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,9 @@ use stacks_common::types::chainstate::StacksPrivateKey;
4141

4242
extern crate alloc;
4343

44-
#[derive(Parser, Debug)]
45-
#[command(author, version, about)]
46-
#[command(long_version = VERSION_STRING.as_str())]
47-
4844
/// The CLI arguments for the stacks signer
45+
#[derive(Parser, Debug)]
46+
#[command(author, version, about, long_version = VERSION_STRING.as_str())]
4947
pub struct Cli {
5048
/// Subcommand action to take
5149
#[command(subcommand)]

0 commit comments

Comments
 (0)