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 and Razican committed Jun 26, 2023
1 parent 88257f9 commit d434950
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 d434950

Please sign in to comment.