Skip to content

Commit a070608

Browse files
committed
clippy::single_char_pattern fix
1 parent 162652a commit a070608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cookies/middleware.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl CookieData {
8282
if let Some(cookie_headers) = req.header(&headers::COOKIE) {
8383
for cookie_header in cookie_headers {
8484
// spec says there should be only one, so this is permissive
85-
for pair in cookie_header.as_str().split(";") {
85+
for pair in cookie_header.as_str().split(';') {
8686
if let Ok(cookie) = Cookie::parse_encoded(String::from(pair)) {
8787
jar.add_original(cookie);
8888
}

0 commit comments

Comments
 (0)