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 FromBytes documentation #658

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Improve FromBytes documentation #658

merged 1 commit into from
Nov 30, 2023

Conversation

jswrenn
Copy link
Collaborator

@jswrenn jswrenn commented Nov 29, 2023

This PR adds examples to most methods of FromBytes, and separately documents derive(FromBytes). 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.

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
@joshlf
Copy link
Member

joshlf commented Nov 29, 2023

Can you also mention #32 in the commit message?

src/lib.rs Outdated Show resolved Hide resolved
joshlf
joshlf previously approved these changes Nov 30, 2023
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.

Feel free to also bump the version number, and I can publish.

This PR adds examples to most methods of `FromBytes`, and
separately documents `derive(FromBytes)`. 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
Copy link
Collaborator Author

jswrenn commented Nov 30, 2023

Version bumped!

@jswrenn jswrenn requested a review from joshlf November 30, 2023 14:23
@joshlf joshlf added this pull request to the merge queue Nov 30, 2023
Merged via the queue into main with commit b20a583 Nov 30, 2023
126 checks passed
@joshlf joshlf deleted the doc-frombytes branch November 30, 2023 14:48
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