Skip to content

Commit 87830c6

Browse files
authored
doc: use cargo new instead of mkdir and cargo init
This is slightly simpler. PR #166
1 parent d538cd9 commit 87830c6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ it.
6161
First, create the project in a new directory:
6262

6363
```text
64-
$ mkdir jiff-example
64+
$ cargo new jiff-example
6565
$ cd jiff-example
66-
$ cargo init
6766
```
6867

6968
Second, add a dependency on `jiff`:

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,8 @@ it.
145145
First, create the project in a new directory:
146146
147147
```text
148-
$ mkdir jiff-example
148+
$ cargo new jiff-example
149149
$ cd jiff-example
150-
$ cargo init
151150
```
152151
153152
Second, add a dependency on `jiff`:

0 commit comments

Comments
 (0)