Skip to content

Commit

Permalink
nit: forgotten 'an'
Browse files Browse the repository at this point in the history
  • Loading branch information
poliorcetics committed Apr 21, 2024
1 parent 81bac72 commit 0a38c07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion text/3371-cargo-target-dir-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ Templating introduces one new templating key for `CARGO_TARGET_DIR`, in the same

It can be used like this: `CARGO_TARGET_DIR="$HOME/.cache/cargo-target-dirs/{manifest-path-hash}"`.

When compiling `/home/ferris/src/cargo/` with user `ferris`, `manifest-path-hash` would be something like `ab/cd/<rest of hash>` and the artifacts would be found in `/home/ferris/.cache/cargo-target-dirs/ab/cd/<rest of hash>/...`. Note the hash used and the path derived from that for `{manifest-path-hash}` are implementation details and the values here are just example.
When compiling `/home/ferris/src/cargo/` with user `ferris`, `manifest-path-hash` would be something like `ab/cd/<rest of hash>` and the artifacts would be found in `/home/ferris/.cache/cargo-target-dirs/ab/cd/<rest of hash>/...`.
Note the hash used and the path derived from that for `{manifest-path-hash}` are implementation details and the values here are just an example.

Below is an example of the behavior with untemplated versus templated forms:

Expand Down

0 comments on commit 0a38c07

Please sign in to comment.