aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-27 12:13:13 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-27 12:13:13 -0600
commit57c6e4a49b642074a63006a5ed9081fc0c4f42a6 (patch)
treeda306894e261450c3ff2a9a8ffa37a2e8916c2f2
parent50ca0a1c9b186200094c29c1bbc4441b7afb2984 (diff)
downloadmakers-57c6e4a49b642074a63006a5ed9081fc0c4f42a6.tar.gz
makers-57c6e4a49b642074a63006a5ed9081fc0c4f42a6.zip
specify String::from instead of Into::into
-rw-r--r--src/makefile/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index bf4006a..d968bb3 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -352,7 +352,7 @@ impl<'a> Makefile<'a> {
let targets = self.expand_macros(&targets, None);
let targets = targets
.split_whitespace()
- .map(Into::into)
+ .map(String::from)
.collect::<Vec<String>>();
let (prerequisites, mut commands) = match not_targets.split_once(';') {
Some((prerequisites, mut command)) => {