From 69527c759a976dfd06fea08d4fd2aea0d9205fed Mon Sep 17 00:00:00 2001 From: Graham Wihlidal Date: Mon, 11 Feb 2019 16:21:43 +0100 Subject: [PATCH] Rustfmt --- ash/src/extensions/ext/mod.rs | 1 - ash/src/extensions/khr/mod.rs | 9 +++------ 2 files changed, 3 insertions(+), 7 deletions(-) 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") }