Skip to content

Commit

Permalink
Merge pull request #49 from dusk-network/fix-clippy-warnings
Browse files Browse the repository at this point in the history
Fix clippy warnings
  • Loading branch information
HDauven authored Nov 20, 2023
2 parents 41d36db + 88f8aba commit 3065889
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dusk_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- main

name: CI
name: build

jobs:
analyze:
Expand Down
4 changes: 2 additions & 2 deletions moat-cli-lp/src/interactor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ impl Interactor {
}
Err(error) => match error {
Error::IO(arc) => {
println!("{}", arc.as_ref().to_string());
println!("{}", arc.as_ref());
}
Error::Transaction(bx) => {
println!("{}", bx.as_ref().to_string());
println!("{}", bx.as_ref());
}
_ => {
println!("{:?}", error);
Expand Down
2 changes: 1 addition & 1 deletion moat-cli-sp/src/interactor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl Interactor {
println!("{}", run_result);
}
Err(error) => {
println!("{}", error.to_string());
println!("{}", error);
}
}
continue;
Expand Down
4 changes: 2 additions & 2 deletions moat-cli-user/src/interactor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ impl Interactor {
Err(error) => {
match error {
Error::IO(arc) => {
println!("{}", arc.as_ref().to_string());
println!("{}", arc.as_ref());
}
Error::Transaction(bx) => {
println!("{}", bx.as_ref().to_string());
println!("{}", bx.as_ref());
}
_ => {
println!("{:?}", error);
Expand Down
4 changes: 2 additions & 2 deletions testing-utils/test-moat-cli/src/interactor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ impl Interactor {
}
Err(error) => match error {
Error::IO(arc) => {
println!("{}", arc.as_ref().to_string());
println!("{}", arc.as_ref());
}
Error::Transaction(bx) => {
println!("{}", bx.as_ref().to_string());
println!("{}", bx.as_ref());
}
_ => {
println!("{:?}", error);
Expand Down

0 comments on commit 3065889

Please sign in to comment.