rustdoc: Add cratedoc and moddoc types
This commit is contained in:
@@ -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>,
|
||||||
|
|||||||
Reference in New Issue
Block a user