cargo/crates/cargo-test-support
bors f10c069629 Auto merge of #14266 - epage:path2url, r=weihanglo
fix(test): Move path2url to CargoPathExt::to_url

### What does this PR try to resolve?

This is a small step, like #14243, to improve the clarity of `cargo-test-support`s API.

Overall, I'm trying to make it more obvious on https://docs.rs/cargo-test-support/latest/cargo_test_support/ which items to reach for when.  I figured this is one that could be demoted to `paths` When doing so, I noticed `CargoPathExt`. I figured if we had any extension traits for `Path`, then this is a
reasonable one to add.

### How should we test and review this PR?

### Additional information
2024-07-18 20:57:05 +00:00
..
2024-05-06 16:52:29 +02:00

WARNING: You might not want to use this outside of Cargo.

  • This is designed for testing Cargo itself. Use at your own risk.
  • No guarantee on any stability across versions.
  • No feature request would be accepted unless proved useful for testing Cargo.