From b91073e5b958d227c283654f26189f1457d43809 Mon Sep 17 00:00:00 2001 From: Gabor Javorszky Date: Fri, 17 May 2024 11:25:03 +0100 Subject: tools/unitctl: Replace format! with .to_string() --- tools/unitctl/unitctl/src/cmd/instances.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/unitctl') diff --git a/tools/unitctl/unitctl/src/cmd/instances.rs b/tools/unitctl/unitctl/src/cmd/instances.rs index a030f7d3..ee58f697 100644 --- a/tools/unitctl/unitctl/src/cmd/instances.rs +++ b/tools/unitctl/unitctl/src/cmd/instances.rs @@ -51,7 +51,7 @@ pub(crate) async fn cmd(args: InstanceArgs) -> Result<(), UnitctlError> { if !sock_path.is_dir() { return Err(UnitctlError::ControlSocketError{ kind: ControlSocketErrorKind::General, - message: format!("user must specify a directory of UNIX socket directory"), + message: "user must specify a directory of UNIX socket directory".to_string(), }) } } -- cgit