Skip to content

cargo docs nightly fails. #2385

@HaoYang670

Description

@HaoYang670

Describe the bug

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

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow cratedevelopment-processRelated to development process of arrow-rs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions