Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Jan 24, 2024
1 parent a4e3bf8 commit 293be27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/handlers/files_list.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use axum::{
extract::{OriginalUri, Path},
extract::Path,
http::{
header::{self, AUTHORIZATION},
StatusCode,
Expand All @@ -14,11 +14,7 @@ use crate::{
acl::AccessType,
auth::AuthFromRequest,
error::Result,
handlers::{
access_check::check_auth_and_acl,
file_helpers::IteratorAdapter,
path_analysis::{decompose_path, ArchivePathKind},
},
handlers::{access_check::check_auth_and_acl, file_helpers::IteratorAdapter},
storage::STORAGE,
};

Expand Down
1 change: 0 additions & 1 deletion src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ use crate::{
file_exchange::{add_file, delete_file, get_file},
file_length::file_length,
files_list::list_files,
path_analysis::constants::TYPES,
repository::{create_repository, delete_repository},
},
log::print_request_response,
Expand Down

0 comments on commit 293be27

Please sign in to comment.