From 2039b36f908b20e7be8a60e903a2a26b21c65ace Mon Sep 17 00:00:00 2001 From: Jonathan Gruner Date: Mon, 21 Apr 2025 14:15:32 +0200 Subject: cleanup redundant pattern instances --- library/std/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/std/src') diff --git a/library/std/src/path.rs b/library/std/src/path.rs index 980213be7ea..50f403ba411 100644 --- a/library/std/src/path.rs +++ b/library/std/src/path.rs @@ -3265,7 +3265,7 @@ impl Hash for Path { if !verbatim { component_start += match tail { [b'.'] => 1, - [b'.', sep @ _, ..] if is_sep_byte(*sep) => 1, + [b'.', sep, ..] if is_sep_byte(*sep) => 1, _ => 0, }; } -- cgit 1.4.1-3-g733a5