Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty template literals #17

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

KodrAus
Copy link
Contributor

@KodrAus KodrAus commented Sep 4, 2024

This PR makes changes:

Template::parse2(quote!(""))

to produce a template where the literal is a single empty text token instead of a template with no literal. This distinguishes it from:

Template::parse2(quote!())

@KodrAus KodrAus merged commit a4d4e4c into main Sep 4, 2024
4 checks passed
@KodrAus KodrAus deleted the fix/empty-template-literal branch September 4, 2024 02:55
@KodrAus KodrAus mentioned this pull request Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant