Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Fixed typo in OffsetsBuffer docs #1373

Merged
merged 1 commit into from
Feb 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/offset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ fn try_check_offsets<O: Offset>(offsets: &[O]) -> Result<(), Error> {

/// A wrapper type of [`Buffer<O>`] that is guaranteed to:
/// * Always contain an element
/// * Every element is `>0`
/// * Every element is `>= 0`
/// * element at position `i` is >= than element at position `i-1`.
#[derive(Clone, PartialEq, Debug)]
pub struct OffsetsBuffer<O: Offset>(Buffer<O>);
Expand Down