Skip to content

Commit

Permalink
Fix up doc spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
nyonson committed Sep 25, 2024
1 parent 29c2af6 commit 0a61881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ impl PacketWriter {
/// Encrypt plaintext bytes and serialize into a packet to be sent over the wire
/// and handle necessary memory allocation.
///
/// * `plaintext` - Plaintext content to be encrypted.
/// * `aad` - Optional authentication for the peer, currently only used for the first round of messages.
/// * `plaintext` - Plaintext content to be encrypted.
/// * `aad` - Optional authentication for the peer, currently only used for the first round of messages.
/// * `packet_type` - Is this a genuine packet or a decoy.
#[cfg(feature = "alloc")]
pub fn encrypt_packet_with_alloc(
Expand Down

0 comments on commit 0a61881

Please sign in to comment.