From e1240b8b49ec28a810029bc3bfadb3da8fa12c3f Mon Sep 17 00:00:00 2001 From: Hugo Trentesaux <hugo.trentesaux@u-psud.fr> Date: Tue, 16 Apr 2019 01:27:50 +0200 Subject: [PATCH] [docs] improve description of "crates" --- doc/en/dev/setup-your-dev-environment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/dev/setup-your-dev-environment.md b/doc/en/dev/setup-your-dev-environment.md index 81272e3a..4387ff13 100644 --- a/doc/en/dev/setup-your-dev-environment.md +++ b/doc/en/dev/setup-your-dev-environment.md @@ -146,7 +146,7 @@ Before changing the code, make sure that the default code compiles correctly: Compiling hello-world v0.1.0 (file:///home/elois/dev/hello-world) Finished dev [unoptimized + debuginfo] target(s) in 0.91 secs -Cargo is the equivalent of npm for Rust, it will look for all the dependencies of the crates (=libraries) you install. Yes in Rust we speak of crates to designate dependencies, it can be a library or a package. +Cargo is the equivalent of npm for Rust, it will look for all the dependencies of the crates you install. In Rust a "crate" refers to any library or package. It's comparable to Python wheels, Java archive, Ruby gems... If you get a `Finished dev[unoptimized + debuginfo] target(s) in x.xx secs`, congratulations you just compiled your first Rust program :) -- GitLab