Fix clippy warnings

This commit is contained in:
Maik Klein 2019-06-07 14:56:59 +02:00
parent 66bf632af2
commit a81938ced1

View file

@ -26,7 +26,7 @@ impl MoltenEntry {
/// function can not fail. /// function can not fail.
pub fn load() -> Result<MoltenEntry, ash::LoadingError> { pub fn load() -> Result<MoltenEntry, ash::LoadingError> {
let static_fn = vk::StaticFn { let static_fn = vk::StaticFn {
get_instance_proc_addr: get_instance_proc_addr, get_instance_proc_addr,
}; };
let entry_fn_1_0 = vk::EntryFnV1_0::load(|name| unsafe { let entry_fn_1_0 = vk::EntryFnV1_0::load(|name| unsafe {