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

Docs: tell about possible literals use for attribute values #195

Merged
merged 1 commit into from Jun 1, 2019

Conversation

sphynx
Copy link
Contributor

@sphynx sphynx commented Jun 1, 2019

For some reason, the possibility of using numbers and booleans in attribute values has not been mentioned in the documentation. Perhaps, it was not supported before or doesn't work with some older Rust versions.

I've added it to the documentation, but please let me know if there any hidden issues here.

@TeXitoi
Copy link
Owner

TeXitoi commented Jun 1, 2019

At the time of the feature creation, only strings was allowed. Using bool and usize worked without modification with a new rustc that support bool and usize as attributes.

@TeXitoi TeXitoi merged commit a7cf4e9 into TeXitoi:master Jun 1, 2019
@TeXitoi
Copy link
Owner

TeXitoi commented Jun 1, 2019

v0.2.17 published

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.

None yet

2 participants