rustdoc: Add brief and desc fields to constdoc
This commit is contained in:
parent
f9a6b3731f
commit
d4e9f097b6
@ -20,6 +20,8 @@ type moddoc = ~{
|
||||
type constdoc = ~{
|
||||
id: ast_id,
|
||||
name: str,
|
||||
brief: option<str>,
|
||||
desc: option<str>,
|
||||
ty: option<str>
|
||||
};
|
||||
|
||||
|
@ -128,6 +128,8 @@ fn constdoc_from_const(
|
||||
~{
|
||||
id: id,
|
||||
name: name,
|
||||
brief: none,
|
||||
desc: none,
|
||||
ty: none
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user