Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Liang-Chi Hsieh <viirya@gmail.com>
  • Loading branch information
alamb and viirya authored Aug 1, 2023
1 parent f03fd91 commit 60a6e06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions arrow-array/src/array/list_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ impl OffsetSizeTrait for i64 {
/// # Representation
///
/// A [`ListArray`] can represent a list of values of any other
/// supported Arrow type. Each element of the `ListArray` itself is a
/// a list which mayb be empty, may contain NULL and non-null values,
/// supported Arrow type. Each element of the `ListArray` itself is
/// a list which may be empty, may contain NULL and non-null values,
/// or may itself be NULL.
///
/// For example, this `ListArray` stores lists of strings:
Expand Down
6 changes: 3 additions & 3 deletions arrow-buffer/src/buffer/offset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use std::ops::Deref;
///
/// This example shows how 5 distinct ranges, are represented using a
/// 6 entry `OffsetBuffer`. The first entry `(0, 3)` represents the
/// three offsets `0, 1, 2` entry `(3,3)` represent no offsets
/// three offsets `0, 1, 2`. The entry `(3,3)` represent no offsets
/// (e.g. an empty list).
///
/// ```text
Expand All @@ -39,9 +39,9 @@ use std::ops::Deref;
/// ├───────┤ ├───┤
/// │ (3,3) │ │ 3 │
/// ├───────┤ ├───┤
/// │ (3,4) │ │ 4
/// │ (3,4) │ │ 3
/// ├───────┤ ├───┤
/// │ (4,5) │ │ 5
/// │ (4,5) │ │ 4
/// ├───────┤ ├───┤
/// │ (5,7) │ │ 5 │
/// └───────┘ ├───┤
Expand Down

0 comments on commit 60a6e06

Please sign in to comment.