diff options
author | Melody Horn <melody@boringcactus.com> | 2024-10-10 21:51:08 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2024-10-10 21:51:08 -0600 |
commit | 4aee801ec1c4ea42fa819ae3c87f3316f2d66ee5 (patch) | |
tree | ed7c4d3bb6c03b32d16cf48f9404927bedc73758 /src | |
parent | 070a51682ea5d0a9c97216c970775ebc35ed0bad (diff) | |
download | makers-4aee801ec1c4ea42fa819ae3c87f3316f2d66ee5.tar.gz makers-4aee801ec1c4ea42fa819ae3c87f3316f2d66ee5.zip |
Diffstat (limited to 'src')
-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 }) |