Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples: Import
align_of()
from mem
to build on on MSRV < 1.80
In #931 we worked around "unnecessary import" warnings for the `size_of(_val)()` functions being added to the prelude in Rust 1.80 while maintaining some form of MSRV back-compatibility (despite not testing the examples against this), but forgot about `align_of()`. This means the examples still build on Rust 1.80 or higher because `align_of()` is always in scope via the prelude there, but not on older compilers. Fix this by adding it to the import that's tagged to be removed when we bump all of `ash` to MSRV 1.80.
- Loading branch information