aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/functions.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile/functions.rs')
-rw-r--r--src/makefile/functions.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefile/functions.rs b/src/makefile/functions.rs
index b4687c3..880ee7f 100644
--- a/src/makefile/functions.rs
+++ b/src/makefile/functions.rs
@@ -341,7 +341,7 @@ mod test {
fn foreach() -> R {
let mut macros = MacroSet::new();
macros.set(
- "test".to_string(),
+ "test".to_owned(),
MacroSource::File,
"worked for $(item).".parse().unwrap(),
);
@@ -364,7 +364,7 @@ mod test {
fn call_test() -> R {
let mut macros = MacroSet::new();
macros.set(
- "reverse".to_string(),
+ "reverse".to_owned(),
MacroSource::File,
"$(2) $(1)".parse().unwrap(),
);