Skip to content

Commit

Permalink
Make IntegerIndexed::byte_offset public (#3017)
Browse files Browse the repository at this point in the history
This allows querying the full range of the `TypedArray` in the
underlying `ArrayBuffer`.
  • Loading branch information
CryZe authored Jun 16, 2023
1 parent 78a0c2f commit dfba57e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl IntegerIndexed {
}

/// Get the integer indexed object's byte offset.
pub(crate) const fn byte_offset(&self) -> u64 {
pub const fn byte_offset(&self) -> u64 {
self.byte_offset
}

Expand Down

0 comments on commit dfba57e

Please sign in to comment.