Skip to content

Commit

Permalink
Support '$' in custom_punctuation macro
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 3, 2024
1 parent 4753622 commit 990142f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/custom_punctuation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ macro_rules! custom_punctuation_len {
($mode:ident, ^=) => { 2 };
($mode:ident, :) => { 1 };
($mode:ident, ,) => { 1 };
($mode:ident, $) => { 1 };
($mode:ident, .) => { 1 };
($mode:ident, ..) => { 2 };
($mode:ident, ...) => { 3 };
Expand Down

0 comments on commit 990142f

Please sign in to comment.