Skip to content

Commit 4ed210f

Browse files
committed
feat(cli/rustup-mode): support more books in rustup doc
1 parent d162563 commit 4ed210f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/cli/rustup_mode.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,9 +1443,14 @@ docs_data![
14431443
(alloc, "The Rust core allocation and collections library", "alloc/index.html"),
14441444
(book, "The Rust Programming Language book", "book/index.html"),
14451445
(cargo, "The Cargo Book", "cargo/index.html"),
1446+
(clippy, "The Clippy Documentation", "clippy/index.html"),
14461447
(core, "The Rust Core Library", "core/index.html"),
14471448
(edition_guide, "The Rust Edition Guide", "edition-guide/index.html"),
14481449
(embedded_book, "The Embedded Rust Book", "embedded-book/index.html"),
1450+
1451+
#[arg(long = "error_codes")]
1452+
(error_codes, "Rust Error Codes Index", "error_codes/index.html"),
1453+
14491454
(nomicon, "The Dark Arts of Advanced and Unsafe Rust Programming", "nomicon/index.html"),
14501455

14511456
#[arg(long = "proc_macro")]
@@ -1456,6 +1461,7 @@ docs_data![
14561461
(rustc, "The compiler for the Rust programming language", "rustc/index.html"),
14571462
(rustdoc, "Documentation generator for Rust projects", "rustdoc/index.html"),
14581463
(std, "Standard library API documentation", "std/index.html"),
1464+
(style_guide, "Rust Style Guide", "style-guide/index.html"),
14591465
(test, "Support code for rustc's built in unit-test and micro-benchmarking framework", "test/index.html"),
14601466
(unstable_book, "The Unstable Book", "unstable-book/index.html"),
14611467
];

0 commit comments

Comments
 (0)