Skip to content

Commit

Permalink
Rollup merge of #80410 - MarcoIeni:patch-1, r=jonas-schievink
Browse files Browse the repository at this point in the history
rustdoc book: fix example

`lib.rs` file is created only if `--lib` flag is specified
  • Loading branch information
m-ou-se authored Dec 28, 2020
2 parents 8b43932 + f57152f commit 7800c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustdoc/src/what-is-rustdoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit 7800c70

Please sign in to comment.