Skip to content

Commit 724dfba

Browse files
Clean up some weird command strings
1 parent 5949391 commit 724dfba

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

src/librustdoc/lib.rs

+7-9
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,8 @@ fn opts() -> Vec<RustcOptGroup> {
165165
o.optmulti(
166166
"",
167167
"passes",
168-
"list of passes to also run, you might want \
169-
to pass it multiple times; a value of `list` \
170-
will print available passes",
168+
"list of passes to also run, you might want to pass it multiple times; a value of \
169+
`list` will print available passes",
171170
"PASSES",
172171
)
173172
}),
@@ -248,8 +247,8 @@ fn opts() -> Vec<RustcOptGroup> {
248247
"e",
249248
"extend-css",
250249
"To add some CSS rules with a given file to generate doc with your \
251-
own theme. However, your theme might break if the rustdoc's generated HTML \
252-
changes, so be careful!",
250+
own theme. However, your theme might break if the rustdoc's generated HTML \
251+
changes, so be careful!",
253252
"PATH",
254253
)
255254
}),
@@ -262,7 +261,7 @@ fn opts() -> Vec<RustcOptGroup> {
262261
"",
263262
"playground-url",
264263
"URL to send code snippets to, may be reset by --markdown-playground-url \
265-
or `#![doc(html_playground_url=...)]`",
264+
or `#![doc(html_playground_url=...)]`",
266265
"URL",
267266
)
268267
}),
@@ -276,8 +275,7 @@ fn opts() -> Vec<RustcOptGroup> {
276275
o.optflag(
277276
"",
278277
"sort-modules-by-appearance",
279-
"sort modules by where they appear in the \
280-
program, rather than alphabetically",
278+
"sort modules by where they appear in the program, rather than alphabetically",
281279
)
282280
}),
283281
stable("theme", |o| {
@@ -358,7 +356,7 @@ fn opts() -> Vec<RustcOptGroup> {
358356
"",
359357
"static-root-path",
360358
"Path string to force loading static files from in output pages. \
361-
If not set, uses combinations of '../' to reach the documentation root.",
359+
If not set, uses combinations of '../' to reach the documentation root.",
362360
"PATH",
363361
)
364362
}),

0 commit comments

Comments
 (0)