summaryrefslogtreecommitdiff
path: root/rust/src/project.rs
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2024-07-09 19:02:01 -0400
committerKyleMiles <krm504@nyu.edu>2024-07-09 19:02:01 -0400
commit6b72382e355807b7b309bbc21d18dc8defd12cec (patch)
tree03d57f6850c76034f107e4efbcb7b37326fc207b /rust/src/project.rs
parent1b22f189fc4b26fb383179f378b6d811e7c16083 (diff)
Rust API : Fix misc clippy warnings
Diffstat (limited to 'rust/src/project.rs')
-rw-r--r--rust/src/project.rs2
1 files changed, 2 insertions, 0 deletions
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<P, N, D, I, F>(
&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<N, D, I, F>(
&self,
contents: &[u8],