vertexclique commented on a change in pull request #8701:
URL: https://github.com/apache/arrow/pull/8701#discussion_r526013126
##########
File path: rust/arrow/src/compute/kernels/boolean.rs
##########
@@ -111,7 +111,22 @@ pub fn not(left: &BooleanArray) -> Result<BooleanArray> {
Ok(BooleanArray::from(Arc::new(data)))
}
-pub fn is_null(input: &ArrayRef) -> Result<BooleanArray> {
+/// Returns a non-null [BooleanArray] with whether each value of the array is
null.
+/// # Error
+/// This function never errors.
+/// # Example
+/// ```rust
Review comment:
What I do in doctests and comments is give a space between each of them
like:
```suggestion
/// # Error
///
/// This function never errors.
///
/// # Example
///
/// ```rust
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]