HaoYang670 opened a new issue, #2385:
URL: https://github.com/apache/arrow-rs/issues/2385
**Describe the bug**
<!--
A clear and concise description of what the bug is.
-->
**To Reproduce**
```
cargo doc --document-private-items --no-deps --workspace --all-features
```
using the nightly tool chain.
Get error
```
warning: unnecessary `unsafe` block
--> arrow/src/compute/kernels/arithmetic.rs:369:17
|
369 | unsafe { result.typed_data_mut().chunks_exact_mut(64)
};
| ^^^^^^ unnecessary `unsafe` block
|
= note: `#[warn(unused_unsafe)]` on by default
warning: unnecessary `unsafe` block
--> arrow/src/compute/kernels/arithmetic.rs:417:17
|
417 | unsafe {
result.typed_data_mut().chunks_exact_mut(lanes) };
| ^^^^^^ unnecessary `unsafe` block
warning: unnecessary `unsafe` block
--> arrow/src/compute/kernels/comparison.rs:1700:25
|
1700 | let result_chunks = unsafe { result.typed_data_mut() };
| ^^^^^^ unnecessary `unsafe` block
...
```
**Expected behavior**
<!--
A clear and concise description of what you expected to happen.
-->
**Additional context**
<!--
Add any other context about the problem here.
-->
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]