mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00

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