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

Use AeadCore::generate_nonce in rustdoc examples #466

Merged
merged 1 commit into from Aug 10, 2022

Conversation

tarcieri
Copy link
Member

This provides a better example closer to real-world code.

See: https://docs.rs/aead/0.5.1/aead/trait.AeadCore.html#method.generate_nonce

@codecov-commenter
Copy link

Codecov Report

Merging #466 (40b687b) into master (88a7deb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #466   +/-   ##
=======================================
  Coverage   87.16%   87.16%           
=======================================
  Files          40       40           
  Lines        1956     1956           
=======================================
  Hits         1705     1705           
  Misses        251      251           
Impacted Files Coverage Δ
aes-gcm-siv/src/lib.rs 81.81% <ø> (ø)
aes-gcm/src/lib.rs 86.79% <ø> (ø)
aes-siv/src/lib.rs 75.00% <ø> (ø)
ccm/src/lib.rs 96.58% <ø> (ø)
chacha20poly1305/src/lib.rs 76.92% <ø> (ø)
deoxys/src/lib.rs 86.20% <ø> (ø)
eax/src/lib.rs 90.62% <ø> (ø)
xsalsa20poly1305/src/lib.rs 85.10% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@tarcieri tarcieri merged commit bc6bab9 into master Aug 10, 2022
@tarcieri tarcieri deleted the use-generate-nonce-in-rustdoc branch August 10, 2022 03:03
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