Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keeping this crate's poll_fn in sync with that of rust's library/core/src/future/poll_fn.rs. Their merge provides all the details. rust-lang/rust#102737 None of this crate's uses of poll_fn are affected. It protects against misuse in the future which could have led to UB as the above mentioned PR points out with an example of a double free becoming possible.
- Loading branch information