aboutsummaryrefslogtreecommitdiffstats
path: root/docs/HACKING_QUICKSTART.md
diff options
context:
space:
mode:
authorJan Zerebecki <jan.mozilla@zerebecki.de>2016-09-27 23:11:50 +0200
committerJan Zerebecki <jan.mozilla@zerebecki.de>2016-09-29 00:19:58 +0200
commit8f99c700ff3ceb59d83d4653427105b80d16f266 (patch)
tree153d87cc93712bace15d0567b027b0492d2b016b /docs/HACKING_QUICKSTART.md
parentec5ae8562d2c1f78a4fc65254b31759cf8b1b0cd (diff)
downloadservo-8f99c700ff3ceb59d83d4653427105b80d16f266.tar.gz
servo-8f99c700ff3ceb59d83d4653427105b80d16f266.zip
Document how to cargo-update to a specific version
Closes #13310
Diffstat (limited to 'docs/HACKING_QUICKSTART.md')
-rw-r--r--docs/HACKING_QUICKSTART.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/HACKING_QUICKSTART.md b/docs/HACKING_QUICKSTART.md
index e0d96b547ea..ec65d263d86 100644
--- a/docs/HACKING_QUICKSTART.md
+++ b/docs/HACKING_QUICKSTART.md
@@ -94,7 +94,7 @@ name = "stb_image"
source = "git+https://github.com/servo/rust-stb-image#f4c5380cd586bfe16326e05e2518aa044397894b"
```
-This file should not be edited by hand. In a normal Rust project, to update the git revision, you would use `cargo update -p stb_image`, but in Servo, use `./mach cargo-update -p stb_image`.
+This file should not be edited by hand. In a normal Rust project, to update the git revision, you would use `cargo update -p stb_image`, but in Servo, use `./mach cargo-update -p stb_image`. Other arguments to cargo are also understood, e.g. use --precise '0.2.3' to update that crate to version 0.2.3.
See [Cargo's documentation about Cargo.toml and Cargo.lock files](http://doc.crates.io/guide.html#cargotoml-vs-cargolock).