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

Improve AsBytes documentation #660

Merged
merged 1 commit into from Nov 30, 2023
Merged

Improve AsBytes documentation #660

merged 1 commit into from Nov 30, 2023

Conversation

jswrenn
Copy link
Collaborator

@jswrenn jswrenn commented Nov 30, 2023

This PR adds examples to most methods of AsBytes, and separately documents derive(AsBytes). Theoretical soundness requirements are placed with trait documentation, and the details of the derive's analysis is placed in the derive documentation.

This PR follows the pattern of #505.

Makes progress towards #32.

@jswrenn jswrenn force-pushed the doc-asbytes branch 2 times, most recently from 2102182 to ee78ae8 Compare November 30, 2023 16:53
src/lib.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
This PR adds examples to most methods of `AsBytes`, and
separately documents `derive(AsBytes)`. Theoretical soundness
requirements are placed with trait documentation, and the details
of the derive's analysis is placed in the derive documentation.

This PR follows the pattern of #505.

Makes progress towards #32.
Copy link
Member

@joshlf joshlf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to also release a new version? Or are you planning on putting up more doc PRs today?

@jswrenn jswrenn added this pull request to the merge queue Nov 30, 2023
Merged via the queue into main with commit b964747 Nov 30, 2023
126 checks passed
@jswrenn jswrenn deleted the doc-asbytes branch November 30, 2023 21:25
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