From 57c6e4a49b642074a63006a5ed9081fc0c4f42a6 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sat, 27 Mar 2021 12:13:13 -0600 Subject: specify String::from instead of Into::into --- src/makefile/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::>(); let (prerequisites, mut commands) = match not_targets.split_once(';') { Some((prerequisites, mut command)) => { -- cgit v1.2.3