From fdd2ed37e3b3119df79479356712d2f7ee655074 Mon Sep 17 00:00:00 2001 From: boastful-squirrel Date: Fri, 16 Aug 2019 21:39:43 +0200 Subject: Fix Clippy warning --- src/file_upload.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/file_upload.rs b/src/file_upload.rs index fe65f24..900792f 100644 --- a/src/file_upload.rs +++ b/src/file_upload.rs @@ -219,6 +219,7 @@ pub fn upload_file( } /// Convenience method for creating response errors, if file upload fails. +#[allow(clippy::too_many_arguments)] fn create_error_response( description: &str, error_code: StatusCode, -- cgit v1.2.3