提交 f77458a6 编写于 作者: B Brian Anderson

rustdoc: Remove nullary-tag dots

上级 398dadfe
......@@ -167,7 +167,7 @@ fn merge_arg_attrs(
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 }
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册