From 77dd21262703ca06fde2295ccff693e7d4ce1d2e Mon Sep 17 00:00:00 2001 From: uzushino Date: Fri, 8 Dec 2023 14:08:29 +0900 Subject: [PATCH] fix allow --- src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 04430aa..12d1c9b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,8 +11,7 @@ mod ffi { pub fn add_item(index: *mut Index, item: *const c_float, len: usize, size: c_uint); pub fn dispose(index: *mut Index); - #[allow(clippy::all)] - #[allow(dead_code)] + #[allow(clippy::all, dead_code)] pub fn query( index: *mut Index, input: *const c_float,