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