Rustfmt
This commit is contained in:
parent
09ee78401f
commit
69527c759a
|
@ -7,4 +7,3 @@ mod debug_marker;
|
||||||
mod debug_report;
|
mod debug_report;
|
||||||
mod debug_utils;
|
mod debug_utils;
|
||||||
mod descriptor_indexing;
|
mod descriptor_indexing;
|
||||||
|
|
||||||
|
|
|
@ -27,16 +27,13 @@ pub fn physical_device_properties2_name() -> &'static std::ffi::CStr {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn maintenance1_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")
|
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance1\0").expect("Wrong extension string")
|
||||||
.expect("Wrong extension string")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn maintenance2_name() -> &'static std::ffi::CStr {
|
pub fn maintenance2_name() -> &'static std::ffi::CStr {
|
||||||
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance2\0")
|
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance2\0").expect("Wrong extension string")
|
||||||
.expect("Wrong extension string")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn maintenance3_name() -> &'static std::ffi::CStr {
|
pub fn maintenance3_name() -> &'static std::ffi::CStr {
|
||||||
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance3\0")
|
std::ffi::CStr::from_bytes_with_nul(b"VK_KHR_maintenance3\0").expect("Wrong extension string")
|
||||||
.expect("Wrong extension string")
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue