]> git.proxmox.com Git - cargo.git/commit
Auto merge of #9531 - 5225225:cargo-doc-open-fix, r=ehuss
authorbors <bors@rust-lang.org>
Thu, 1 Jul 2021 01:14:50 +0000 (01:14 +0000)
committerbors <bors@rust-lang.org>
Thu, 1 Jul 2021 01:14:50 +0000 (01:14 +0000)
commit4952979031e2cf1d901c817a32e25a156a19db4c
treea0e6896b448a7a44838ec228456141dd53cae973
parent01d059af9b7165bd77f43ab03ae8321d83d189a9
parent950c415583443a90972ea05b72979d3b9c2b301d
Auto merge of #9531 - 5225225:cargo-doc-open-fix, r=ehuss

Fix `BorrowMutError` when calling `cargo doc --open`

~~I'm not sure why the existing test suite didn't catch this, it definitely calls `cargo doc --open`.~~

I had

```toml
[doc.extern-map]
std = "local"
```

in my `.cargo/config.toml`. Will write a test case that sets that and then tries to run `cargo doc --open`.

Closes #9530
tests/testsuite/doc.rs