Skip to content

Commit

Permalink
doc: fix incorrect use of cargoDeps
Browse files Browse the repository at this point in the history
Thanks to @bjornfor for reporting this error!
  • Loading branch information
danieldk committed Jun 1, 2021
1 parent 1c2986b commit 9cca8ce
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 9cca8ce

Please sign in to comment.