This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new 370d42691c arrow-arith: fix 'occured' -> 'occurred' in arity.rs
comments (#9736)
370d42691c is described below
commit 370d42691c70a03a46d17e400855b1deaa8f4927
Author: Sai Asish Y <[email protected]>
AuthorDate: Thu Apr 16 05:36:17 2026 -0700
arrow-arith: fix 'occured' -> 'occurred' in arity.rs comments (#9736)
## Which issue does this PR close?
N/A — typo fix only.
## Rationale
Two comments in `arrow-arith/src/arity.rs` (lines 459, 508) read `no
copying occured`. Fixed to `occurred`. Comment-only change.
## Are there any user-facing changes?
No.
Signed-off-by: SAY-5 <[email protected]>
Co-authored-by: SAY-5 <[email protected]>
---
arrow-arith/src/arity.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arrow-arith/src/arity.rs b/arrow-arith/src/arity.rs
index b9f7a82963..308dd8f9cd 100644
--- a/arrow-arith/src/arity.rs
+++ b/arrow-arith/src/arity.rs
@@ -456,7 +456,7 @@ mod tests {
Some(vec![true, true, true, true, true].into()),
);
- // unwrap here means that no copying occured
+ // unwrap here means that no copying occurred
let r2 = binary_mut(a, &b, |a, b| a + b).unwrap();
assert_eq!(r1.unwrap(), r2.unwrap());
}
@@ -505,7 +505,7 @@ mod tests {
Some(vec![true, true, true, true, true].into()),
);
- // unwrap here means that no copying occured
+ // unwrap here means that no copying occurred
let r2 = try_binary_mut(a, &b, |a, b| Ok(a + b)).unwrap();
assert_eq!(r1.unwrap(), r2.unwrap());
}