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

Added documentation to the sha256.rs ciphers module. #81

Merged
merged 2 commits into from
Jun 11, 2024

Conversation

scriptandcompile
Copy link
Contributor

No description provided.

Comment on lines +3 to +11
// The data to process.
data: Vec<u8>,
// The length of the data.
len: usize,
// The total length of the data.
total_len: usize,
// A flag indicating if the buffer has a single byte.
single: bool,
// A flag indicating if the buffer has been fully processed.
Copy link
Owner

Choose a reason for hiding this comment

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

It's fine here since this struct is private, but note that these should be doc comments with ///, i.e., fields should also be documented in docs.

@alexfertel alexfertel merged commit 33c8c18 into alexfertel:main Jun 11, 2024
3 checks passed
@scriptandcompile scriptandcompile deleted the sha256-documentation branch June 13, 2024 18:09
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