Skip to content

Commit

Permalink
Fix a clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stephank committed Jan 23, 2023
1 parent 918911a commit 1786f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/response_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl<'a> ResponseBuilder<'a> {
let resolved = RequestedPath::resolve(self.path);

let mut target_len = resolved.sanitized.as_os_str().len() + 2;
if let Some(ref query) = self.query {
if let Some(query) = self.query {
target_len += query.len() + 1;
}

Expand Down

0 comments on commit 1786f86

Please sign in to comment.