-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Make str point to primitive page #74637
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
src/liballoc/string.rs
Outdated
/// [`str`]: ../../std/primitive.str.html | ||
/// [`&str`]: ../../std/primitive.str.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use type@str
? Or will that run into #73423?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In alloc, it points to remote link: https://doc.rust-lang.org/nightly/std/primitive.str.html
In std, the link is OK: http://0.0.0.0:8000/std/primitive.str.html
e219aff
to
d19b12d
Compare
@bors r+ rollup=always |
📌 Commit d19b12d has been approved by |
🌲 The tree is currently closed for pull requests below priority 5, this pull request will be tested once the tree is reopened |
…arth Rollup of 8 pull requests Successful merges: - rust-lang#74141 (libstd/libcore: fix various typos) - rust-lang#74490 (add a Backtrace::disabled function) - rust-lang#74548 (one more Path::with_extension example, to demonstrate behavior) - rust-lang#74587 (Prefer constant over function) - rust-lang#74606 (Remove Linux workarounds for missing CLOEXEC support) - rust-lang#74637 (Make str point to primitive page) - rust-lang#74654 (require type defaults to be after const generic parameters) - rust-lang#74659 (Improve codegen for unchecked float casts on wasm) Failed merges: r? @ghost
Currently str in String page points to str module page.