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/summain.rs | |
parent | ed1c8990707b451580e45aea0169b9a82fe739f2 (diff) | |
parent | f29c6e680baefec5289d4fb75d7bf96118b62d84 (diff) | |
download | obnam-benchmark-d19841b087996784f1437a743a6916a443f4911b.tar.gz |
fixes
See merge request obnam/obnam-benchmark!16
Diffstat (limited to 'src/summain.rs')
-rw-r--r-- | src/summain.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/summain.rs b/src/summain.rs index ce9cf0f..3c977f1 100644 --- a/src/summain.rs +++ b/src/summain.rs @@ -19,7 +19,5 @@ pub fn summain(root: &Path) -> Result<String, SummainError> { std::process::exit(1); } - Ok(String::from_utf8_lossy(&output.stdout) - .to_owned() - .to_string()) + Ok(String::from_utf8_lossy(&output.stdout).to_string()) } |