mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 04:14:28 +00:00
Rollup merge of #80410 - MarcoIeni:patch-1, r=jonas-schievink
rustdoc book: fix example `lib.rs` file is created only if `--lib` flag is specified
This commit is contained in:
commit
7800c70fab
@ -10,7 +10,7 @@ CSS, and JavaScript.
|
||||
Let's give it a try! Create a new project with Cargo:
|
||||
|
||||
```bash
|
||||
$ cargo new docs
|
||||
$ cargo new docs --lib
|
||||
$ cd docs
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user