Skip to content

Commit

Permalink
Merge pull request #47 from alexcrichton/none
Browse files Browse the repository at this point in the history
Support emitting the `None` delimiter
  • Loading branch information
alexcrichton authored Sep 23, 2017
2 parents 873c0d0 + e395200 commit 67a9d9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ impl Tokens {
"(" => Delimiter::Parenthesis,
"[" => Delimiter::Bracket,
"{" => Delimiter::Brace,
" " => Delimiter::None,
_ => panic!("unknown delimiter: {}", delim),
};
let mut child = Tokens::new();
Expand Down

0 comments on commit 67a9d9f

Please sign in to comment.