Skip to content

Commit 6baf395

Browse files
authored
Merge pull request #12 from tatsuya6502/fix-gh10
Add `--lib` option to the second `cargo new` invocation
2 parents 562d938 + ca61881 commit 6baf395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

second-edition/src/ch14-03-cargo-workspaces.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ members = [
137137
それから、`add-one`という名前のライブラリクレートを生成してください:
138138

139139
```text
140-
$ cargo new add-one
140+
$ cargo new add-one --lib
141141
Created library `add-one` project
142142
```
143143

0 commit comments

Comments
 (0)