rustdoc: Add cratedoc and moddoc types
This commit is contained in:
parent
c59a0ec774
commit
e32cf827ff
1 changed files with 8 additions and 0 deletions
|
|
@ -22,6 +22,14 @@ type rustdoc = {
|
|||
w: io::writer
|
||||
};
|
||||
|
||||
type cratedoc = {
|
||||
mods: [moddoc]
|
||||
};
|
||||
|
||||
type moddoc = {
|
||||
fns: [fndoc]
|
||||
};
|
||||
|
||||
type fndoc = {
|
||||
brief: str,
|
||||
desc: option::t<str>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue