mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
b76f0f92ab
Fix broken links with `--document-private-items` in the standard library As it was suggested in #81037 `SpecFromIter` is not in the scope and therefore we get a warning when we try to do document private intems in `rust/library/alloc/`. This addresses #81037 by adding the trait in the scope as ```@jyn514``` suggested and also adding an `allow(unused_imports)` flag so that the compiler does not complain, Since the trait is not used per se in the code, it's just needed to have properly documented docs. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |