rustdoc: Add brief and desc fields to constdoc

This commit is contained in:
Brian Anderson 2012-01-23 23:55:41 -08:00
parent f9a6b3731f
commit d4e9f097b6
2 changed files with 4 additions and 0 deletions

View file

@ -20,6 +20,8 @@
type constdoc = ~{
id: ast_id,
name: str,
brief: option<str>,
desc: option<str>,
ty: option<str>
};

View file

@ -128,6 +128,8 @@ fn constdoc_from_const(
~{
id: id,
name: name,
brief: none,
desc: none,
ty: none
}
}