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

Add static atoms for input types. #83

Closed
Ms2ger opened this issue Apr 25, 2015 · 0 comments · Fixed by #178
Closed

Add static atoms for input types. #83

Ms2ger opened this issue Apr 25, 2015 · 0 comments · Fixed by #178

Comments

@Ms2ger
Copy link
Contributor

Ms2ger commented Apr 25, 2015

At least for submit, reset, file, radio, checkbox, password.

bors-servo pushed a commit that referenced this issue Nov 2, 2016
Make Atom generic over the set of static strings

The new `string_cache_codegen` crate is intended to be used by downstream users in their build scripts. Provided a list of static strings, it generates code that defines:
- A type alias for `Atom<_>` with the type parameter set,
- A macro like the former `atom!` macro.

Based on #136, original work by @aidanhs.

Fixes #22, fixes #136, closes #83.

r? @nox

<!-- Reviewable:start -->
---

This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/string-cache/178)

<!-- Reviewable:end -->
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 a pull request may close this issue.

1 participant