diff --git a/.github/workflows/dusk_ci.yml b/.github/workflows/dusk_ci.yml index 8fe5ae5..686edbc 100644 --- a/.github/workflows/dusk_ci.yml +++ b/.github/workflows/dusk_ci.yml @@ -4,7 +4,7 @@ on: branches: - main -name: CI +name: build jobs: analyze: diff --git a/moat-cli-lp/src/interactor.rs b/moat-cli-lp/src/interactor.rs index 064c939..1510f78 100644 --- a/moat-cli-lp/src/interactor.rs +++ b/moat-cli-lp/src/interactor.rs @@ -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); diff --git a/moat-cli-sp/src/interactor.rs b/moat-cli-sp/src/interactor.rs index 70c3a94..bc22f3f 100644 --- a/moat-cli-sp/src/interactor.rs +++ b/moat-cli-sp/src/interactor.rs @@ -89,7 +89,7 @@ impl Interactor { println!("{}", run_result); } Err(error) => { - println!("{}", error.to_string()); + println!("{}", error); } } continue; diff --git a/moat-cli-user/src/interactor.rs b/moat-cli-user/src/interactor.rs index e1e08fd..297f309 100644 --- a/moat-cli-user/src/interactor.rs +++ b/moat-cli-user/src/interactor.rs @@ -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); diff --git a/testing-utils/test-moat-cli/src/interactor.rs b/testing-utils/test-moat-cli/src/interactor.rs index 11536b7..0ca4623 100644 --- a/testing-utils/test-moat-cli/src/interactor.rs +++ b/testing-utils/test-moat-cli/src/interactor.rs @@ -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);