rustdoc: Add cratedoc and moddoc types
This commit is contained in:
parent
c59a0ec774
commit
e32cf827ff
|
@ -22,6 +22,14 @@ type rustdoc = {
|
||||||
w: io::writer
|
w: io::writer
|
||||||
};
|
};
|
||||||
|
|
||||||
|
type cratedoc = {
|
||||||
|
mods: [moddoc]
|
||||||
|
};
|
||||||
|
|
||||||
|
type moddoc = {
|
||||||
|
fns: [fndoc]
|
||||||
|
};
|
||||||
|
|
||||||
type fndoc = {
|
type fndoc = {
|
||||||
brief: str,
|
brief: str,
|
||||||
desc: option::t<str>,
|
desc: option::t<str>,
|
||||||
|
|
Loading…
Reference in New Issue