mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
ddb6904ee4
Added a doc test for std::path::strip_prefix
I was about 90% sure `Path::new("/test/haha/foo.txt").strip_prefix("/te")` would return an Err, but I couldn't find an example to confirm this behaviour.
This should be an easy merge :)