Skip to content

Commit 50ec250

Browse files
committed
remove unnecessary parentheses
1 parent 2b594c2 commit 50ec250

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/bin/docs_rs_web/src/handlers/sitemap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ pub(crate) async fn sitemap_handler(
160160
if letter.len() != 1 {
161161
return Err(AxumNope::ResourceNotFound);
162162
} else if let Some(ch) = letter.chars().next()
163-
&& !(ch.is_ascii_lowercase())
163+
&& !ch.is_ascii_lowercase()
164164
{
165165
return Err(AxumNope::ResourceNotFound);
166166
}

0 commit comments

Comments
 (0)