aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/input.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-06 15:30:47 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-06 15:30:47 -0600
commitcffe9f4085cf28e9a1e62346cfb31ed0470a49ff (patch)
tree7bfd667b0c1952275ff478afc3bcad0a0c0dbf53 /src/makefile/input.rs
parentccd9a6560c34690af803ef4dae2e53621ae608c1 (diff)
downloadmakers-cffe9f4085cf28e9a1e62346cfb31ed0470a49ff.tar.gz
makers-cffe9f4085cf28e9a1e62346cfb31ed0470a49ff.zip
appease our wire lord and savior
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);