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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue