From 6b72382e355807b7b309bbc21d18dc8defd12cec Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Tue, 9 Jul 2024 19:02:01 -0400 Subject: Rust API : Fix misc clippy warnings --- rust/src/project.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rust/src/project.rs') diff --git a/rust/src/project.rs b/rust/src/project.rs index beb0f008..a94b42e1 100644 --- a/rust/src/project.rs +++ b/rust/src/project.rs @@ -493,6 +493,7 @@ impl Project { /// * `id` - id unique ID /// * `creation_time` - Creation time of the file /// * `progress_func` - Progress function that will be called as the file is being added + #[allow(clippy::too_many_arguments)] pub unsafe fn create_file_from_path_with_progress_unsafe( &self, path: P, @@ -654,6 +655,7 @@ impl Project { /// * `id` - id unique ID /// * `creation_time` - Creation time of the file /// * `progress_func` - Progress function that will be called as the file is being added + #[allow(clippy::too_many_arguments)] pub unsafe fn create_file_with_progress_unsafe( &self, contents: &[u8], -- cgit v1.3.1