From 9cca8ce4468487962ecd28f3ad8d937857636963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= Date: Tue, 1 Jun 2021 13:14:28 +0200 Subject: [PATCH] doc: fix incorrect use of cargoDeps Thanks to @bjornfor for reporting this error! --- doc/languages-frameworks/rust.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md index 008909e5c76a..5ff7a5edefd5 100644 --- a/doc/languages-frameworks/rust.section.md +++ b/doc/languages-frameworks/rust.section.md @@ -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";