From e1d715ecab28369e9ca0a8ed841165e08df74993 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Sat, 2 Sep 2023 13:19:39 +0800 Subject: [PATCH] fix some typos Signed-off-by: cui fliter --- nostarch/appendix.md | 2 +- nostarch/appendix_d.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nostarch/appendix.md b/nostarch/appendix.md index 98432a1dac..128eb61a5d 100644 --- a/nostarch/appendix.md +++ b/nostarch/appendix.md @@ -562,7 +562,7 @@ style to use when writing Rust: everyone formats their code using the tool. Rust installations include `rustfmt` by default, so you should already have the programs `rustfmt` and `cargo-fmt` on your system. These two commands are -analagous to `rustc` and `cargo` in that `rustfmt` allows finer-grained control +analogous to `rustc` and `cargo` in that `rustfmt` allows finer-grained control and `cargo-fmt` understands conventions of a project that uses Cargo. To format any Cargo project, enter the following: diff --git a/nostarch/appendix_d.md b/nostarch/appendix_d.md index 96b73e9544..513a5542d6 100644 --- a/nostarch/appendix_d.md +++ b/nostarch/appendix_d.md @@ -20,7 +20,7 @@ style to use when writing Rust: everyone formats their code using the tool. Rust installations include `rustfmt` by default, so you should already have the programs `rustfmt` and `cargo-fmt` on your system. These two commands are -analagous to `rustc` and `cargo` in that `rustfmt` allows finer-grained control +analogous to `rustc` and `cargo` in that `rustfmt` allows finer-grained control and `cargo-fmt` understands conventions of a project that uses Cargo. To format any Cargo project, enter the following: