diff --git a/src/offset.rs b/src/offset.rs index 7096b44340..458e9ac7b5 100644 --- a/src/offset.rs +++ b/src/offset.rs @@ -335,7 +335,7 @@ fn try_check_offsets(offsets: &[O]) -> Result<(), Error> { /// A wrapper type of [`Buffer`] 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(Buffer);