Skip to content

Commit 01f5145

Browse files
committed
style(cli/rustup-mode): reorder items in docs_data![]
1 parent 708ffd6 commit 01f5145

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cli/rustup_mode.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,7 @@ docs_data![
14451445
(cargo, "The Cargo Book", "cargo/index.html"),
14461446
(core, "The Rust Core Library", "core/index.html"),
14471447
(edition_guide, "The Rust Edition Guide", "edition-guide/index.html"),
1448+
(embedded_book, "The Embedded Rust Book", "embedded-book/index.html"),
14481449
(nomicon, "The Dark Arts of Advanced and Unsafe Rust Programming", "nomicon/index.html"),
14491450

14501451
#[arg(long = "proc_macro")]
@@ -1457,7 +1458,6 @@ docs_data![
14571458
(std, "Standard library API documentation", "std/index.html"),
14581459
(test, "Support code for rustc's built in unit-test and micro-benchmarking framework", "test/index.html"),
14591460
(unstable_book, "The Unstable Book", "unstable-book/index.html"),
1460-
(embedded_book, "The Embedded Rust Book", "embedded-book/index.html"),
14611461
];
14621462

14631463
async fn doc(

tests/suite/cli-ui/rustup/rustup_doc_cmd_help_flag_stdout.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Options:
2020
--cargo The Cargo Book
2121
--core The Rust Core Library
2222
--edition-guide The Rust Edition Guide
23+
--embedded-book The Embedded Rust Book
2324
--nomicon The Dark Arts of Advanced and Unsafe Rust Programming
2425
--proc_macro A support library for macro authors when defining new macros
2526
--reference The Rust Reference
@@ -31,7 +32,6 @@ Options:
3132
--test Support code for rustc's built in unit-test and micro-benchmarking
3233
framework
3334
--unstable-book The Unstable Book
34-
--embedded-book The Embedded Rust Book
3535
-h, --help Print help
3636
3737
Discussion:

0 commit comments

Comments
 (0)