Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information