Skip to content

Commit

Permalink
doc: use cargo new instead of mkdir and cargo init
Browse files Browse the repository at this point in the history
This is slightly simpler.

PR #166
  • Loading branch information
tshepang authored Dec 7, 2024
1 parent d538cd9 commit 87830c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ it.
First, create the project in a new directory:

```text
$ mkdir jiff-example
$ cargo new jiff-example
$ cd jiff-example
$ cargo init
```

Second, add a dependency on `jiff`:
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ it.
First, create the project in a new directory:
```text
$ mkdir jiff-example
$ cargo new jiff-example
$ cd jiff-example
$ cargo init
```
Second, add a dependency on `jiff`:
Expand Down

0 comments on commit 87830c6

Please sign in to comment.