We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c06e62e commit 2286d8cCopy full SHA for 2286d8c
src/rustdoc/gen.rs
@@ -138,7 +138,7 @@ fn write_args(
138
fn write_arg(ctxt: ctxt, arg: doc::argdoc) {
139
assert option::is_some(arg.ty);
140
ctxt.w.write_line(#fmt(
141
- "* %s: `%s`",
+ "* `%s`: `%s`",
142
arg.name,
143
option::get(arg.ty)
144
));
@@ -152,8 +152,8 @@ fn should_write_argument_list() {
152
markdown,
153
"Arguments:\n\
154
\n\
155
- * b: `int`\n\
156
- * c: `int`\n\
+ * `b`: `int`\n\
+ * `c`: `int`\n\
157
\n"
158
);
159
}
0 commit comments