Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #101322 - ChrisDenton:internal-doc, r=Mark-Simulacrum
Fix internal doc link The doc link from `DedupSortedIter` to `BTreeMap::bulk_build_from_sorted_iter` was broken when building internal documentation, This prevented me from building internal documentation locally: ``` R:\Rust\rust> $env:RUSTDOCFLAGS="--document-private-items" R:\Rust\rust> x doc library/std --open --stage 0 Building rustbuild Compiling bootstrap v0.0.0 (R:\Rust\rust\src\bootstrap) Finished dev [unoptimized] target(s) in 3.15s Documenting stage0 std (x86_64-pc-windows-msvc) Documenting core v0.0.0 (R:\Rust\rust\library\core) Finished release [optimized] target(s) in 36.42s Checking core v0.0.0 (R:\Rust\rust\library\core) Checking rustc-std-workspace-core v1.99.0 (R:\Rust\rust\library\rustc-std-workspace-core) Checking compiler_builtins v0.1.79 Documenting alloc v0.0.0 (R:\Rust\rust\library\alloc) error: unresolved link to `BTreeMap::bulk_build_from_sorted_iter` --> library\alloc\src\collections\btree\dedup_sorted_iter.rs:6:15 | 6 | /// Used by [`BTreeMap::bulk_build_from_sorted_iter`]. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `BTreeMap` in scope | = note: `-D rustdoc::broken-intra-doc-links` implied by `-D warnings` error: could not document `alloc` ```
- Loading branch information