Skip to content

Commit 3ecfe0e

Browse files
committed
cleanup redundant pattern instances
1 parent 1f234b5 commit 3ecfe0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3265,7 +3265,7 @@ impl Hash for Path {
32653265
if !verbatim {
32663266
component_start += match tail {
32673267
[b'.'] => 1,
3268-
[b'.', sep @ _, ..] if is_sep_byte(*sep) => 1,
3268+
[b'.', sep, ..] if is_sep_byte(*sep) => 1,
32693269
_ => 0,
32703270
};
32713271
}

0 commit comments

Comments
 (0)