Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix clippy::explicit_auto_deref warning #876

Merged
merged 1 commit into from Jul 22, 2022
Merged

Commits on Jul 22, 2022

  1. Fix clippy::explicit_auto_deref warning

    ```
    warning: deref which would be done by auto-deref
        --> crossbeam-epoch/src/atomic.rs:1715:43
         |
    1715 |         let arr: &[MaybeUninit<usize>] = &*owned;
         |                                           ^^^^^^ help: try this: `owned`
         |
         = note: `#[warn(clippy::explicit_auto_deref)]` on by default
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
    
    warning: deref which would be done by auto-deref
        --> crossbeam-skiplist/src/base.rs:1045:21
         |
    1045 |                     (*n).refs_and_height
         |                     ^^^^ help: try this: `n`
         |
         = note: `#[warn(clippy::explicit_auto_deref)]` on by default
         = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
    ```
    taiki-e committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    8262385 View commit details
    Browse the repository at this point in the history