]> git.lizzy.rs Git - rust.git/commit
redox: Require scheme for path to be absolute
authorIan Douglas Scott <ian@iandouglasscott.com>
Fri, 18 Aug 2017 19:04:45 +0000 (12:04 -0700)
committerIan Douglas Scott <ian@iandouglasscott.com>
Fri, 18 Aug 2017 19:04:45 +0000 (12:04 -0700)
commitb272f6ca05e9210dbe6c605a301d5a16007f322f
tree4f9fa4906dae3911496a9000de02733e3426d4a8
parent230a379a452e5a2bcdfd0a956b259e0a1d83b512
redox: Require scheme for path to be absolute

Redox paths are problematic. It would make sense to add a `Scheme`
variant to the `std::path::Component` enum; but that would presumably be
a breaking change due to exhaustive matching. Alternately it could use
the existing `Prefix` variant, like Windows, but none of the existing
types of prefix make sense, Redox only has one kind, and adding a new
variant to that enum has the same issue as `Component`.
src/libstd/path.rs