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 docs for the internal Field0 and examples of formatting/parsing #328

Merged
merged 2 commits into from Apr 3, 2023

Conversation

KodrAus
Copy link
Member

@KodrAus KodrAus commented Apr 2, 2023

Closes #323

This PR adds the example of supporting text formatting/parsing into the library docs so it's easier to find. It also adds a section pointing to the generated docs for the Field0 type that's generated for all flags types (usually internally, but we expose it in the library docs so you can explore it).

cc @kpreid

src/lib.rs Outdated Show resolved Hide resolved
@KodrAus KodrAus merged commit ddc975b into bitflags:main Apr 3, 2023
15 checks passed
@KodrAus KodrAus mentioned this pull request Apr 5, 2023
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.

Clarify means of printing human-readable string in 2.0.0
2 participants