Skip to content

Commit

Permalink
fix: extra paren
Browse files Browse the repository at this point in the history
  • Loading branch information
prestwich committed Dec 25, 2024
1 parent 8222e9c commit 2470c04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ impl<const BITS: usize, const LIMBS: usize> Uint<BITS, LIMBS> {
/// # Returns
///
/// The number of bytes written to the buffer (always equal to
/// [`Self::BYTES`]), but often useful to make explicit for encoders).
/// [`Self::BYTES`], but often useful to make explicit for encoders).
#[inline]
pub fn copy_le_bytes_to(&self, buf: &mut [u8]) -> usize {
// This is debug only. Release panics occur later in copy_from_slice
Expand Down Expand Up @@ -405,7 +405,7 @@ impl<const BITS: usize, const LIMBS: usize> Uint<BITS, LIMBS> {
/// # Returns
///
/// The number of bytes written to the buffer (always equal to
/// [`Self::BYTES`]), but often useful to make explicit for encoders).
/// [`Self::BYTES`], but often useful to make explicit for encoders).
#[inline]
pub fn copy_be_bytes_to(&self, buf: &mut [u8]) -> usize {
// This is debug only. Release panics occur later in copy_from_slice
Expand Down

0 comments on commit 2470c04

Please sign in to comment.