Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore unnecessary_cast clippy false positive
warning: casting raw pointers to the same type and constness is unnecessary (`*const dyn of::NonStaticAny` -> `*const dyn of::NonStaticAny`) --> src/lib.rs:219:11 | 219 | &*(&phantom_data as *const dyn NonStaticAny as *const (dyn NonStaticAny + 'static)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&phantom_data as *const dyn NonStaticAny` | = 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
- Loading branch information