diff options
| author | Jonathan Gruner <jogru0@gmail.com> | 2025-04-21 14:15:32 +0200 |
|---|---|---|
| committer | Jonathan Gruner <jogru0@gmail.com> | 2025-04-21 14:15:32 +0200 |
| commit | 2039b36f908b20e7be8a60e903a2a26b21c65ace (patch) | |
| tree | 512be6da9adc05e7b3b7c22adb75cb82101d9a58 /library/std/src/path.rs | |
| parent | b8005bff3248cfc6e327faf4fa631ac49bb49ba9 (diff) | |
| download | rust-2039b36f908b20e7be8a60e903a2a26b21c65ace.tar.gz rust-2039b36f908b20e7be8a60e903a2a26b21c65ace.zip | |
cleanup redundant pattern instances
Diffstat (limited to 'library/std/src/path.rs')
| -rw-r--r-- | library/std/src/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, }; } |
