]> git.proxmox.com Git - cargo.git/commit
Auto merge of #9475 - PaulDance:fix-test-support-warning, r=ehuss
authorbors <bors@rust-lang.org>
Mon, 10 May 2021 21:39:52 +0000 (21:39 +0000)
committerbors <bors@rust-lang.org>
Mon, 10 May 2021 21:39:52 +0000 (21:39 +0000)
commite5fdd481b12d24bb14b3f73ee001d86e4a44b57b
tree308d2abf2c0c0473ebe12e6c2933bb3d8f205061
parent5c455130b6001c7f54e872e161c27f6e996aff1f
parenta5b4b4710aa2be1f6fbfb62b2ebc636299a18706
Auto merge of #9475 - PaulDance:fix-test-support-warning, r=ehuss

Fix Url::into_string deprecation warning

```rust
warning: use of deprecated associated function `url::Url::into_string`: use Into<String>
   --> src/registry.rs:183:26
    |
183 |                 dl_url().into_string(),
    |                          ^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default
```

is being emitted when running `cargo build` directly from the `crates/cargo-test-support` or the `crates/mdman` crate. This simply proposes a switch to the recommended method in order to resolve the deprecation warning.