Disable missing_safety_doc
This commit is contained in:
parent
31d14486e5
commit
17edc8c13c
|
@ -199,7 +199,7 @@ impl EntryCustom<Arc<DynamicLibrary>> {
|
|||
Self::new_custom(
|
||||
|| {
|
||||
DynamicLibrary::open(Some(&Path::new(LIB_PATH)))
|
||||
.map_err(|err| LoadingError::LibraryLoadError(err.clone()))
|
||||
.map_err(LoadingError::LibraryLoadError)
|
||||
.map(Arc::new)
|
||||
},
|
||||
|vk_lib, name| unsafe {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![allow(clippy::too_many_arguments)]
|
||||
#![allow(clippy::too_many_arguments, clippy::missing_safety_doc)]
|
||||
//! # Vulkan API
|
||||
//!
|
||||
//! <https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/index.html>
|
||||
|
|
|
@ -1647,7 +1647,7 @@ pub fn derive_setters(
|
|||
.map(|extends| {
|
||||
extends
|
||||
.split(',')
|
||||
.filter(|extend| root_struct_names.contains(&extend.to_string()))
|
||||
.filter(|extend| root_struct_names.contains(*extend))
|
||||
.map(|extends| name_to_tokens(&format!("Extends{}", name_to_tokens(&extends))))
|
||||
.collect()
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue