diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-11-26 15:32:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-26 15:32:13 +0100 |
| commit | ddb6904ee4b0fd37d7f0488bb89a28305343b9b2 (patch) | |
| tree | 981541d74de44710ecd21a1b422349869dfd7ea6 /tests/coverage/branch/lazy-boolean.rs | |
| parent | 620cdfc6dc15008318f8c724511eef7049f93d01 (diff) | |
| parent | f3ad32b76934fcc8a5119ecf20c7ba9cc7b40ea9 (diff) | |
| download | rust-ddb6904ee4b0fd37d7f0488bb89a28305343b9b2.tar.gz rust-ddb6904ee4b0fd37d7f0488bb89a28305343b9b2.zip | |
Rollup merge of #133419 - CromFr:add-path-strip_prefix-test-example, r=Amanieu
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 :)
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.rs')
0 files changed, 0 insertions, 0 deletions
