diff options
author | Melody Horn <melody@boringcactus.com> | 2021-03-27 12:13:13 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-03-27 12:13:13 -0600 |
commit | 57c6e4a49b642074a63006a5ed9081fc0c4f42a6 (patch) | |
tree | da306894e261450c3ff2a9a8ffa37a2e8916c2f2 /src/makefile | |
parent | 50ca0a1c9b186200094c29c1bbc4441b7afb2984 (diff) | |
download | makers-57c6e4a49b642074a63006a5ed9081fc0c4f42a6.tar.gz makers-57c6e4a49b642074a63006a5ed9081fc0c4f42a6.zip |
specify String::from instead of Into::into
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile/mod.rs | 2 |
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)) => { |