Skip to content

Commit

Permalink
Merge pull request #1611 from dtolnay/customdollar
Browse files Browse the repository at this point in the history
Support '$' in custom_punctuation macro
  • Loading branch information
dtolnay committed Apr 3, 2024
2 parents 4753622 + 990142f commit 7247053
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 7247053

Please sign in to comment.