Closed as not planned
Closed as not planned
Description
In my docs, I use [`String`]
or even [`std::string::String`]
, I expect the generated link is to the std page, but the generated link is to the alloc page.
I know maybe std
re-exports some structs in alloc
, core
, etc. but for a beginner who does not know well about rust, he may be confused when clicking the link to String and get an unfamiliar path. So what can I do if I want to link to std
page?
Meta
rustc --version --verbose
:
rustc 1.49.0-nightly (a1dfd2490 2020-10-05)
binary: rustc
commit-hash: a1dfd2490a6cb456b92e469fa550dc217e20ad6d
commit-date: 2020-10-05
host: x86_64-unknown-linux-gnu
release: 1.49.0-nightly
LLVM version: 11.0