diff options
Diffstat (limited to 'src/makefile/token.rs')
-rw-r--r-- | src/makefile/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefile/token.rs b/src/makefile/token.rs index 2721387..418baf5 100644 --- a/src/makefile/token.rs +++ b/src/makefile/token.rs @@ -386,7 +386,7 @@ fn empty_tokens<'a, E: Err<'a>>(input: &'a str) -> IResult<&'a str, TokenString, fn fold_tokens<'a, E: Err<'a>>( parser: impl FnMut(&'a str) -> IResult<&'a str, TokenString, E>, ) -> impl FnMut(&'a str) -> IResult<&'a str, TokenString, E> { - fold_many1(parser, TokenString::empty(), |mut acc, x| { + fold_many1(parser, TokenString::empty, |mut acc, x| { acc.extend(x); acc }) |