about summary refs log tree commit diff
path: root/src/rustdoc/doc.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-01-23 23:55:41 -0800
committerBrian Anderson <banderson@mozilla.com>2012-01-24 00:38:35 -0800
commitd4e9f097b664b1d703c845bb7f9bffd83483ca65 (patch)
tree07c9f71f89bec48f432dffb5db844b4eb558f9be /src/rustdoc/doc.rs
parentf9a6b3731fc44ba7b6e612ca80353aba592ea769 (diff)
rustdoc: Add brief and desc fields to constdoc
Diffstat (limited to 'src/rustdoc/doc.rs')
-rw-r--r--src/rustdoc/doc.rs2
1 files changed, 2 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>
 };