Skip to content

Commit

Permalink
fix: docs first3
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasspinner committed Sep 13, 2024
1 parent eab2743 commit 7059056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ impl Symbol {
self.0 as u16
}

/// Get the first two bytes of the symbol as a `u16`.
/// Get the first three bytes of the symbol as a `u64`.
///
/// If the Symbol is one or zero bytes, this will return `0u16`.
/// If the Symbol is one or zero bytes, this will return `0u64`.
#[inline]
pub fn first3(self) -> u64 {
self.0 & 0xFF_FF_FF
Expand Down

0 comments on commit 7059056

Please sign in to comment.