summaryrefslogtreecommitdiff
path: root/mingling/src/program/exec/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/program/exec/error.rs')
-rw-r--r--mingling/src/program/exec/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingling/src/program/exec/error.rs b/mingling/src/program/exec/error.rs
index 0523ea5..8ce16ff 100644
--- a/mingling/src/program/exec/error.rs
+++ b/mingling/src/program/exec/error.rs
@@ -38,7 +38,7 @@ impl From<ChainProcessError> for ProgramInternalExecuteError {
match value {
ChainProcessError::Other(s) => ProgramInternalExecuteError::Other(s),
ChainProcessError::IO(error) => ProgramInternalExecuteError::IO(error),
- ChainProcessError::Broken(_) => ProgramInternalExecuteError::Other(format!("Broken")),
+ ChainProcessError::Broken(_) => ProgramInternalExecuteError::Other("Broken".to_string()),
}
}
}