diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-03-15 05:45:50 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-03-15 05:45:50 +0000 |
commit | d19841b087996784f1437a743a6916a443f4911b (patch) | |
tree | 93dff6e69da88b75b6b3bdb74a6eee22cef08280 /src/client.rs | |
parent | ed1c8990707b451580e45aea0169b9a82fe739f2 (diff) | |
parent | f29c6e680baefec5289d4fb75d7bf96118b62d84 (diff) | |
download | obnam-benchmark-main.tar.gz |
fixes
See merge request obnam/obnam-benchmark!16
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 4 |
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()) } } |