Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clippy::unnecessary_cast warning
``` warning: casting to the same type is unnecessary (`u64` -> `u64`) --> src/lib.rs:398:33 | 398 | Poll::Ready(res.map(|p| p as u64)) | ^^^^^^^^ help: try: `p` | = 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 warning: casting to the same type is unnecessary (`u64` -> `u64`) --> src/lib.rs:421:33 | 421 | Poll::Ready(res.map(|p| p as u64)) | ^^^^^^^^ help: try: `p` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast ```
- Loading branch information