Skip to content

Commit

Permalink
Fix clippy error (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
natalieesk committed Jul 19, 2023
1 parent 3d574d8 commit 5f65160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion participant/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::io;

fn main() -> io::Result<()> {
let mut reader = Box::new(io::stdin().lock());
let mut logger = ConsoleLogger::default();
let mut logger = ConsoleLogger;
let out = cli(&mut reader, &mut logger);

if let Err(e) = out {
Expand Down
2 changes: 1 addition & 1 deletion trusted-dealer/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn cli() -> Result<(), TrustedDealerError> {

let (shares, pubkeys) = keygen.unwrap();

let mut console_logger = ConsoleLogger::default();
let mut console_logger = ConsoleLogger;

print_values(&shares, &pubkeys, &mut console_logger);

Expand Down

0 comments on commit 5f65160

Please sign in to comment.