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

client: Fix beta clippy issue (unnecessary_cast) #21

Merged
merged 1 commit into from
Jul 20, 2023

Commits on Jul 20, 2023

  1. client: Fix beta clippy issue (unnecessary_cast)

    warning: casting raw pointers to the same type and constness is unnecessary (`*const u8` -> `*const u8`)
       --> src/lib.rs:603:28
        |
    603 |         let cap_data_ptr = cap_data.as_ptr() as *const u8;
        |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `cap_data.as_ptr()`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
        = note: `#[warn(clippy::unnecessary_cast)]` on by default
    
    Signed-off-by: Rob Bradford <[email protected]>
    rbradford committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    0da6518 View commit details
    Browse the repository at this point in the history