Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Mar 23, 2024
1 parent d1764a0 commit 3fe951d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webserver/http_request_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ async fn extract_multipart_post_data(
.await
.with_context(|| {
format!(
"Failed to extract file {field_name:?}. Max file size: {:.3} MB",
config.max_uploaded_file_size as f32 / 1_000_000.0
"Failed to extract file {field_name:?}. Max file size: {} kiB",
config.max_uploaded_file_size / 1_024
)
})?;
log::trace!("Extracted file {field_name} to {:?}", extracted.file.path());
Expand Down

0 comments on commit 3fe951d

Please sign in to comment.