Skip to content

Commit 07098de

Browse files
committed
address review comment
1 parent 1c8927e commit 07098de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust/arrow/src/ipc/reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ fn create_primitive_array(
310310
make_array(array_data)
311311
}
312312

313-
/// Reads the correct number of buffers based on list type a null_count, and creates a
313+
/// Reads the correct number of buffers based on list type and null_count, and creates a
314314
/// list array ref
315315
fn create_list_array(
316316
field_node: &ipc::FieldNode,

rust/arrow/src/json/reader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ mod tests {
10471047
List(Box::new(Int64)),
10481048
coerce_data_type(vec![&Int64, &List(Box::new(Int64))]).unwrap()
10491049
);
1050-
// boolean a number are incompatible, return utf8
1050+
// boolean and number are incompatible, return utf8
10511051
assert_eq!(
10521052
List(Box::new(Utf8)),
10531053
coerce_data_type(vec![&Boolean, &List(Box::new(Float64))]).unwrap()

0 commit comments

Comments
 (0)