Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ctsrc committed Aug 25, 2024
1 parent 7b15c89 commit 9c3c090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ async fn request_handler_project(

match (method, uri_path) {
(&Method::GET, _) => {
if uri_path == "" {
if uri_path.is_empty() {
handle_dir_request(project_dir, response_builder).await
} else {
let uri_path = uri_path.trim_start_matches('/');
Expand Down

0 comments on commit 9c3c090

Please sign in to comment.