rustdoc: Remove nullary-tag dots
This commit is contained in:
@@ -167,7 +167,7 @@ fn fold_fn(
|
|||||||
with *doc
|
with *doc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
none. { doc }
|
none { doc }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// FIXME: Warning when documenting a non-existant arg
|
// FIXME: Warning when documenting a non-existant arg
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ fn write_arg(ctxt: ctxt, arg: doc::argdoc) {
|
|||||||
some(desc) {
|
some(desc) {
|
||||||
ctxt.w.write_str(#fmt(" - %s", desc));
|
ctxt.w.write_str(#fmt(" - %s", desc));
|
||||||
}
|
}
|
||||||
none. { }
|
none { }
|
||||||
}
|
}
|
||||||
ctxt.w.write_line("");
|
ctxt.w.write_line("");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ fn merge_ret_ty(
|
|||||||
some(doc) {
|
some(doc) {
|
||||||
fail "unimplemented";
|
fail "unimplemented";
|
||||||
}
|
}
|
||||||
none. {
|
none {
|
||||||
alt get_ret_ty(srv, fn_id) {
|
alt get_ret_ty(srv, fn_id) {
|
||||||
some(ty) {
|
some(ty) {
|
||||||
some({
|
some({
|
||||||
@@ -58,7 +58,7 @@ fn merge_ret_ty(
|
|||||||
ty: some(ty)
|
ty: some(ty)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
none. { none }
|
none { none }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user