summary refs log tree commit diff
path: root/src/rustdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustdoc')
-rw-r--r--src/rustdoc/doc.rs2
-rw-r--r--src/rustdoc/extract.rs2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/rustdoc/doc.rs b/src/rustdoc/doc.rs
index 2ca1c7612f7..e8e3e963844 100644
--- a/src/rustdoc/doc.rs
+++ b/src/rustdoc/doc.rs
@@ -20,6 +20,8 @@ type moddoc = ~{
 type constdoc = ~{
     id: ast_id,
     name: str,
+    brief: option<str>,
+    desc: option<str>,
     ty: option<str>
 };
 
diff --git a/src/rustdoc/extract.rs b/src/rustdoc/extract.rs
index 329604eb49b..6217c1cb3f6 100644
--- a/src/rustdoc/extract.rs
+++ b/src/rustdoc/extract.rs
@@ -128,6 +128,8 @@ fn constdoc_from_const(
     ~{
         id: id,
         name: name,
+        brief: none,
+        desc: none,
         ty: none
     }
 }