aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/functions.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-02 22:30:42 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-02 22:30:42 -0600
commit067e0c9d07ccb2a3b3bba8586759e33f0f58e42d (patch)
treec150f3efcc80737b0e0c19dd7ea0f5d61cd31587 /src/makefile/functions.rs
parent50b6d0f63329900ed9e6730096a293aebd44e452 (diff)
downloadmakers-067e0c9d07ccb2a3b3bba8586759e33f0f58e42d.tar.gz
makers-067e0c9d07ccb2a3b3bba8586759e33f0f58e42d.zip
appease the mighty paperclip
Diffstat (limited to 'src/makefile/functions.rs')
-rw-r--r--src/makefile/functions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/functions.rs b/src/makefile/functions.rs
index 8df1892..43ed44b 100644
--- a/src/makefile/functions.rs
+++ b/src/makefile/functions.rs
@@ -303,7 +303,7 @@ mod shell {
// TODO set .SHELLSTATUS
Ok(String::from_utf8(result.stdout)?
.replace("\r\n", "\n")
- .trim_end_matches("\n")
+ .trim_end_matches('\n')
.replace("\n", " "))
}
}