Skip to content

Improve FromBytes documentation#658

Merged
joshlf merged 1 commit into
mainfrom
doc-frombytes
Nov 30, 2023
Merged

Improve FromBytes documentation#658
joshlf merged 1 commit into
mainfrom
doc-frombytes

Conversation

@jswrenn

@jswrenn jswrenn commented Nov 29, 2023

Copy link
Copy Markdown
Collaborator

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.

Comment thread src/lib.rs Outdated
Comment thread src/lib.rs
Comment thread src/lib.rs
@joshlf

joshlf commented Nov 29, 2023

Copy link
Copy Markdown
Member

Can you also mention #32 in the commit message?

Comment thread src/lib.rs Outdated
joshlf
joshlf previously approved these changes Nov 30, 2023

@joshlf joshlf left a comment

Copy link
Copy Markdown
Member

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

jswrenn commented Nov 30, 2023

Copy link
Copy Markdown
Collaborator Author

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
@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