diff --git a/ash-examples/src/bin/texture.rs b/ash-examples/src/bin/texture.rs index c8e3f9357..82097ce3d 100644 --- a/ash-examples/src/bin/texture.rs +++ b/ash-examples/src/bin/texture.rs @@ -5,7 +5,7 @@ use std::error::Error; use std::ffi; use std::io::Cursor; use std::mem; -use std::mem::{size_of, size_of_val}; // TODO: Remove when bumping MSRV to 1.80 +use std::mem::{align_of, size_of, size_of_val}; // TODO: Remove when bumping MSRV to 1.80 use std::os::raw::c_void; use ash::util::*; diff --git a/ash-examples/src/bin/triangle.rs b/ash-examples/src/bin/triangle.rs index 1dcdc9827..45f2a3f5d 100644 --- a/ash-examples/src/bin/triangle.rs +++ b/ash-examples/src/bin/triangle.rs @@ -5,7 +5,7 @@ use std::error::Error; use std::ffi; use std::io::Cursor; use std::mem; -use std::mem::{size_of, size_of_val}; // TODO: Remove when bumping MSRV to 1.80 +use std::mem::{align_of, size_of, size_of_val}; // TODO: Remove when bumping MSRV to 1.80 use ash::util::*; use ash::vk;