diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-09-18 11:46:39 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-09-18 11:47:04 -0700 |
| commit | c755449fd6c10bf0b7850788b9faf6799ef7e38d (patch) | |
| tree | f2e129a42abce885776779525231f1960f89e5bd /src/rustdoc/doc.rs | |
| parent | 150acd26b251088bd2e830e6c9f171f7d1614c60 (diff) | |
| download | rust-c755449fd6c10bf0b7850788b9faf6799ef7e38d.tar.gz rust-c755449fd6c10bf0b7850788b9faf6799ef7e38d.zip | |
Revert "rustc: Change all non-keyword uses of "link""
This reverts commit 3b013cd800ce675a445220105911bbefd2427e47.
Diffstat (limited to 'src/rustdoc/doc.rs')
| -rw-r--r-- | src/rustdoc/doc.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rustdoc/doc.rs b/src/rustdoc/doc.rs index 154a7f1c6d0..5161fdff270 100644 --- a/src/rustdoc/doc.rs +++ b/src/rustdoc/doc.rs @@ -334,13 +334,13 @@ impl index : cmp::Eq { * * kind - The type of thing being indexed, e.g. 'Module' * * name - The name of the thing * * brief - The brief description - * * lnk - A format-specific string representing the link target + * * link - A format-specific string representing the link target */ type index_entry = { kind: ~str, name: ~str, brief: Option<~str>, - lnk: ~str + link: ~str }; impl index_entry : cmp::Eq { @@ -348,7 +348,7 @@ impl index_entry : cmp::Eq { self.kind == other.kind && self.name == other.name && self.brief == other.brief && - self.lnk == other.lnk + self.link == other.link } pure fn ne(&&other: index_entry) -> bool { !self.eq(other) } } |
