rustdoc: Remove nullary-tag dots

This commit is contained in:
Brian Anderson
2012-01-19 00:08:51 -08:00
parent 398dadfeca
commit f77458a676
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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("");
} }

View File

@@ -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 }
} }
} }
} }