[librsvg: 9/13] Suppress clippy warnings about missing `# Safety` sections




commit 852cb14a4b72cf016653cf02449118c93eaebee8
Author: Sven Neumann <sven svenfoo org>
Date:   Tue Aug 25 20:47:23 2020 +0200

    Suppress clippy warnings about missing `# Safety` sections
    
    Seems impossible to document the safety preconditions to use these
    functions safely, they are inherently unsafe as they are calling
    into C code.

 librsvg/lib.rs | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/librsvg/lib.rs b/librsvg/lib.rs
index 742bf2a0..01b831fc 100644
--- a/librsvg/lib.rs
+++ b/librsvg/lib.rs
@@ -1,4 +1,5 @@
 #![allow(clippy::clone_on_ref_ptr)]
+#![allow(clippy::missing_safety_doc)]
 #![allow(clippy::not_unsafe_ptr_arg_deref)]
 #![allow(clippy::too_many_arguments)]
 #![warn(unused)]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]