rustdoc: Add brief and desc fields to constdoc
This commit is contained in:
parent
f9a6b3731f
commit
d4e9f097b6
2 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,8 @@ type moddoc = ~{
|
||||||
type constdoc = ~{
|
type constdoc = ~{
|
||||||
id: ast_id,
|
id: ast_id,
|
||||||
name: str,
|
name: str,
|
||||||
|
brief: option<str>,
|
||||||
|
desc: option<str>,
|
||||||
ty: option<str>
|
ty: option<str>
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -128,6 +128,8 @@ fn constdoc_from_const(
|
||||||
~{
|
~{
|
||||||
id: id,
|
id: id,
|
||||||
name: name,
|
name: name,
|
||||||
|
brief: none,
|
||||||
|
desc: none,
|
||||||
ty: none
|
ty: none
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue