aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile/input.rs')
-rw-r--r--src/makefile/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/input.rs b/src/makefile/input.rs
index 601a159..13ced8e 100644
--- a/src/makefile/input.rs
+++ b/src/makefile/input.rs
@@ -348,7 +348,7 @@ impl<'a, 'parent, R: BufRead> MakefileReader<'a, 'parent, R> {
Err(err) => return Some((n, Err(err))),
};
let line = COMMENT.replace(&line, "");
- line_pieces.push(line.trim_start().to_string());
+ line_pieces.push(line.trim_start().to_owned());
}
}
let line = line_pieces.join(escaped_newline_replacement);