Skip to content

Commit

Permalink
fix doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nevi-me committed Mar 6, 2019
1 parent 04c7307 commit 9784313
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/arrow/src/compute/cast_kernels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ where

/// Cast Boolean types to numeric
///
/// Any zero value returns `false` while non-zero returns `true`
/// `false` returns 0 while `true` returns 1. Although this cast supports floats, they are
/// unsupported in the upstream cast
fn cast_bool_to_numeric<T>(from: &BooleanArray) -> Result<PrimitiveArray<T>>
where
T: ArrowPrimitiveType + ArrowNumericType,
Expand Down

0 comments on commit 9784313

Please sign in to comment.