forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#77700 - bugadani:rustdoc-link-cache, r=jyn514
Rustdoc: Cache resolved links in current module A step towards rust-lang#77681
- Loading branch information
Showing
2 changed files
with
134 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#![crate_name = "foo"] | ||
// @has foo/enum.E1.html '//a/@href' '../foo/enum.E1.html#variant.A' | ||
|
||
/// [Self::A::b] | ||
pub enum E1 { | ||
A { b: usize } | ||
} | ||
|
||
// @has foo/enum.E2.html '//a/@href' '../foo/enum.E2.html#variant.A' | ||
|
||
/// [Self::A::b] | ||
pub enum E2 { | ||
A { b: usize } | ||
} |