We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae8b84b commit 19d4b04Copy full SHA for 19d4b04
src/librustdoc/clean/types.rs
@@ -517,10 +517,9 @@ impl Item {
517
Some(ExternalLocation::Remote(ref s)) => {
518
format!("{}/std/", s.trim_end_matches('/'))
519
}
520
- Some(ExternalLocation::Unknown) | None => format!(
521
- "https://doc.rust-lang.org/{}/std/",
522
- crate::doc_rust_lang_org_channel(),
523
- ),
+ Some(ExternalLocation::Unknown) | None => {
+ "https://doc.rust-lang.org/nightly/std/".to_string()
+ }
524
};
525
// This is a primitive so the url is done "by hand".
526
let tail = fragment.find('#').unwrap_or_else(|| fragment.len());
0 commit comments