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

Commit

Permalink
Apply comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Nov 3, 2021
1 parent 0494610 commit 5d38f22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compute/cast/binary_to.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub fn binary_large_to_binary(
))
}

/// Casts a [`BinaryArray`] to a [`PrimitiveArray`], as best-effort using `lexical_core::parse_partial`, making any uncastable value as zero.
/// Casts a [`BinaryArray`] to a [`PrimitiveArray`] at best-effort using `lexical_core::parse_partial`, making any uncastable value as zero.
pub fn partial_binary_to_primitive<O: Offset, T>(
from: &BinaryArray<O>,
to: &DataType,
Expand Down
2 changes: 1 addition & 1 deletion src/compute/cast/utf8_to.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ where
PrimitiveArray::<T>::from_trusted_len_iter(iter).to(to.clone())
}

/// Casts a [`Utf8Array`] to a [`PrimitiveArray`] as best-effort using `lexical_core::parse_partial`, making any uncastable value as zero.
/// Casts a [`Utf8Array`] to a [`PrimitiveArray`] at best-effort using `lexical_core::parse_partial`, making any uncastable value as zero.
pub fn partial_utf8_to_primitive<O: Offset, T>(
from: &Utf8Array<O>,
to: &DataType,
Expand Down

0 comments on commit 5d38f22

Please sign in to comment.