aboutsummaryrefslogtreecommitdiffstats
path: root/docs/HACKING_QUICKSTART.md
diff options
context:
space:
mode:
authorPaul Rouget <me@paulrouget.com>2020-06-22 07:30:05 +0200
committerGitHub <noreply@github.com>2020-06-22 07:30:05 +0200
commit18f35c795739769835daa4d85ebab39e43a67049 (patch)
treeea913724b44303ecc2ef2b5e51152dfc25189b3b /docs/HACKING_QUICKSTART.md
parent3f999ce785faf8a011302d2ab4640c63c97619a8 (diff)
downloadservo-18f35c795739769835daa4d85ebab39e43a67049.tar.gz
servo-18f35c795739769835daa4d85ebab39e43a67049.zip
Update HACKING_QUICKSTART.md
Fix #27012
Diffstat (limited to 'docs/HACKING_QUICKSTART.md')
-rw-r--r--docs/HACKING_QUICKSTART.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/HACKING_QUICKSTART.md b/docs/HACKING_QUICKSTART.md
index 025120aaa41..02ab406014c 100644
--- a/docs/HACKING_QUICKSTART.md
+++ b/docs/HACKING_QUICKSTART.md
@@ -119,14 +119,14 @@ Both information can be found using, in this example, `/mach cargo pkgid mozjs_s
If the output is in the format `https://github.com/servo/mozjs#mozjs_sys:0.0.0`, you are dealing with a git dependency and you will have to edit the `~/my-projects/servo/Cargo.toml` file and add at the bottom:
``` toml
-[replace]
+[patch]
"https://github.com/servo/mozjs#mozjs_sys:0.0.0" = { path = '../mozjs' }
```
If the output is in the format `https://github.com/rust-lang/crates.io-index#mozjs_sys#0.0.0`, you are dealing with a crates.io dependency and you will have to edit the `~/my-projects/servo/Cargo.toml` in the following way:
``` toml
-[replace]
+[patch]
"mozjs_sys:0.0.0" = { path = '../mozjs' }
```