Skip to content

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

Merged
TeXitoi merged 1 commit intoTeXitoi:masterfrom
sphynx:improve-attributes-description
Jun 1, 2019
Merged

Docs: tell about possible literals use for attribute values#195
TeXitoi merged 1 commit intoTeXitoi:masterfrom
sphynx:improve-attributes-description

Conversation

@sphynx
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants