From 9cf7c3c71578463762d62786fcf8c13728dd3bd2 Mon Sep 17 00:00:00 2001 From: Domenico Andreoli Date: Wed, 4 Dec 2019 09:24:13 +0100 Subject: [PATCH] Fix typo in section 'Caching the Cargo home in CI' --- src/doc/src/guide/cargo-home.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/src/guide/cargo-home.md b/src/doc/src/guide/cargo-home.md index 7a5e1c1d75a..fa2e2f98523 100644 --- a/src/doc/src/guide/cargo-home.md +++ b/src/doc/src/guide/cargo-home.md @@ -56,7 +56,7 @@ To be able to make these binaries accessible, add the path of the directory to y To avoid redownloading all crate dependencies during continuous integration, you can cache the `$CARGO_HOME` directory. However, caching the entire directory is often inefficient as it will contain downloaded sources twice. If we depend on a crate such as `serde 1.0.92` and cache the entire `$CARGO_HOME` we would actually cache the sources twice, the `serde-1.0.92.crate` inside `registry/cache` and the extracted `.rs` files of serde inside `registry/src`. -The can unnecessarily slow down the build as downloading, extracting, recompressing and reuploading the cache to the CI servers can take some time. +That can unnecessarily slow down the build as downloading, extracting, recompressing and reuploading the cache to the CI servers can take some time. It should be sufficient to only cache the following directories across builds: