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

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