Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around unused_qualifications lint for Rust 1.80 prelude extension
`size_of(_val)()` was added to the prelude in Rust 1.80, causing `unused_qualifications` warnings whenever we qualify a call to it with via `std::mem::size_of_val()`. The easiest workaround is to remove the prefix and explicitly import the function in scope. We annotate the import with a `TODO` to remove it once bumping our MSRV on or past 1.80.
- Loading branch information