From 87830c656bb0e7b3f8bfe6df75e163953180d863 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sat, 7 Dec 2024 16:50:31 +0200 Subject: [PATCH] doc: use `cargo new` instead of `mkdir` and `cargo init` This is slightly simpler. PR #166 --- README.md | 3 +-- src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a07886f..597c4d6 100644 --- a/README.md +++ b/README.md @@ -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`: diff --git a/src/lib.rs b/src/lib.rs index b058186..cb6ea56 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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`: