aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/token.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-14 20:17:42 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-14 20:17:42 -0600
commit5a72fb28fb69a476437141a4eb898d6d001dd281 (patch)
treefcec27e259b34ac9d37fae737e27fd4c0601eae2 /src/makefile/token.rs
parent53124e9b8c1feade1b88144d286ae2fcc4692c7e (diff)
downloadmakers-5a72fb28fb69a476437141a4eb898d6d001dd281.tar.gz
makers-5a72fb28fb69a476437141a4eb898d6d001dd281.zip
implement potentially-mixed-quoted conditional args
Diffstat (limited to 'src/makefile/token.rs')
-rw-r--r--src/makefile/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/token.rs b/src/makefile/token.rs
index 05ad98c..2721387 100644
--- a/src/makefile/token.rs
+++ b/src/makefile/token.rs
@@ -53,7 +53,7 @@ impl TokenString {
&mut self.0[0]
}
- pub fn split_once(&self, delimiter: char) -> Option<(Self, Self)> {
+ pub fn split_once(&self, delimiter: &str) -> Option<(Self, Self)> {
let mut result0 = vec![];
let mut iter = self.0.iter();
while let Some(t) = iter.next() {