aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/mod.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-02 20:53:30 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-02 20:53:30 -0600
commit6488d227000c30e06b6ae50fa323d45d537698a7 (patch)
treebbd6d20c6fc36a9ccc3e84351f1974a5369bf541 /src/makefile/mod.rs
parent68ebea2da2b178f740f4e0682ff1a8857adaaa3b (diff)
downloadmakers-6488d227000c30e06b6ae50fa323d45d537698a7.tar.gz
makers-6488d227000c30e06b6ae50fa323d45d537698a7.zip
add helper function for empty tokenstring
Diffstat (limited to 'src/makefile/mod.rs')
-rw-r--r--src/makefile/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/mod.rs b/src/makefile/mod.rs
index 5f4ca15..d16ad65 100644
--- a/src/makefile/mod.rs
+++ b/src/makefile/mod.rs
@@ -396,7 +396,7 @@ impl<'a> Makefile<'a> {
line_tokens.strip_suffix("=");
line_tokens.trim_end();
}
- let mut value = TokenString::from(vec![]);
+ let mut value = TokenString::empty();
for (_, line) in lines_iter {
let line = line?;
if line == "endef" {