Skip to content

Commit

Permalink
Fix interpolation bug with trailing spaces not being trimmed
Browse files Browse the repository at this point in the history
  • Loading branch information
ebkalderon committed Oct 20, 2019
1 parent 6f439fe commit 68f8a51
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions nix-parser/src/lexer/lexers/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ where
break;
}
}
_ => {
let (input, _) = multispace0(remaining)?;
remaining = input;
}
_ => {}
}
let (input, _) = multispace0(remaining)?;
remaining = input;
tokens.push(token);
}

Expand Down

0 comments on commit 68f8a51

Please sign in to comment.