Commit 162df35
committed
Stop emitting double to_string
d70b294 wrapped regex in a QuoteToString whose ToTokens implementation
nominally handles the necessary to_string() invocation prior to
splicing.
However, it didn't make the parallel change to drop the call to
to_string from the splice.
This results in a redundant regex.to_string().to_string() in the
generated code.1 parent 174fbc7 commit 162df35
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
| 826 | + | |
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| |||
0 commit comments