mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
94d73d4403
Refactor `get_first_two_components` to `get_next_component`. Fixes the following behaviour of `parse_prefix`: - series of separator bytes in a prefix are correctly parsed as a single separator - device namespace prefixes correctly recognize both `\\` and `/` as separators