summaryrefslogtreecommitdiffstats
path: root/zellij-client/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'zellij-client/src/lib.rs')
-rw-r--r--zellij-client/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-client/src/lib.rs b/zellij-client/src/lib.rs
index f3daf69c8..38ab30210 100644
--- a/zellij-client/src/lib.rs
+++ b/zellij-client/src/lib.rs
@@ -299,9 +299,9 @@ pub fn start_client(
os_input.send_to_server(ClientToServerMsg::ClientExited);
if let ExitReason::Error(_) = reason {
- handle_error(format!("{}", reason));
+ handle_error(reason.to_string());
}
- exit_msg = format!("{}", reason);
+ exit_msg = reason.to_string();
break;
}
ClientInstruction::Error(backtrace) => {