summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-01-13 19:16:07 +0200
committerLars Wirzenius <liw@liw.fi>2024-01-13 19:16:07 +0200
commit0ff4ff6432538f0eefa031655c290459f981fe66 (patch)
treeee3f33ccc5d2b480e87f85cf2bf278a66c5e6d44 /src
parent92ce5228ec468d573db67f73b8faedf7b2b04ea0 (diff)
downloadobnam-benchmark-0ff4ff6432538f0eefa031655c290459f981fe66.tar.gz
to_owned
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
Diffstat (limited to 'src')
-rw-r--r--src/client.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client.rs b/src/client.rs
index dd2a624..43a52ec 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -58,9 +58,7 @@ impl ObnamClient {
std::process::exit(1);
}
- Ok(String::from_utf8_lossy(&output.stdout)
- .to_owned()
- .to_string())
+ Ok(String::from_utf8_lossy(&output.stdout).to_string())
}
}