diff --git a/ash/src/extensions/ext/mod.rs b/ash/src/extensions/ext/mod.rs index 1c8376e..33a4f43 100644 --- a/ash/src/extensions/ext/mod.rs +++ b/ash/src/extensions/ext/mod.rs @@ -7,4 +7,3 @@ mod debug_marker; mod debug_report; mod debug_utils; mod descriptor_indexing; - diff --git a/ash/src/extensions/khr/mod.rs b/ash/src/extensions/khr/mod.rs index e69ac8e..75bdb38 100644 --- a/ash/src/extensions/khr/mod.rs +++ b/ash/src/extensions/khr/mod.rs @@ -27,16 +27,13 @@ pub fn physical_device_properties2_name() -> &'static std::ffi::CStr { } pub fn maintenance1_name() -> &'static std::ffi::CStr { - std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance1\0") - .expect("Wrong extension string") + std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance1\0").expect("Wrong extension string") } pub fn maintenance2_name() -> &'static std::ffi::CStr { - std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance2\0") - .expect("Wrong extension string") + std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance2\0").expect("Wrong extension string") } pub fn maintenance3_name() -> &'static std::ffi::CStr { - std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance3\0") - .expect("Wrong extension string") + std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance3\0").expect("Wrong extension string") }