about summary refs log tree commit diff
path: root/src/rustdoc/doc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustdoc/doc.rs')
-rw-r--r--src/rustdoc/doc.rs6
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) }
 }