]> git.lizzy.rs Git - rust.git/commit
Implement FromStr for PathBuf
authorSimon Sapin <simon.sapin@exyr.org>
Wed, 17 Oct 2018 13:51:10 +0000 (15:51 +0200)
committerSimon Sapin <simon.sapin@exyr.org>
Wed, 17 Oct 2018 13:54:00 +0000 (15:54 +0200)
commita0df4204c49975d3a5fb9c3a6562d49faf130b01
tree2df79ea11591008a623ba897379c1eb355ea1529
parentcbbd70d4f25bc255d80b6b9ba0a65f6c5957f2b7
Implement FromStr for PathBuf

Initially landed in https://github.com/rust-lang/rust/pull/48292
and reverted in https://github.com/rust-lang/rust/pull/50401.
This time, use `std::string::ParseError` as suggested in
https://github.com/rust-lang/rust/issues/44431#issuecomment-428112632
src/libstd/path.rs