Skip to content

Commit

Permalink
Merge pull request #125201 from danieldk/import-cargo-lock-docfix
Browse files Browse the repository at this point in the history
doc: fix incorrect use of cargoDeps
  • Loading branch information
danieldk authored Jun 1, 2021
2 parents 1f5ad38 + 9cca8ce commit eb3bb3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/languages-frameworks/rust.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ hashes need to be specified since they are not available through the
lock file. For example:

```
cargoDeps = {
cargoDeps = rustPlatform.importCargoLock {
lockFile = ./Cargo.lock;
outputHashes = {
"rand-0.8.3" = "0ya2hia3cn31qa8894s3av2s8j5bjwb6yq92k0jsnlx7jid0jwqa";
Expand Down

0 comments on commit eb3bb3b

Please sign in to comment.