Skip to content

Commit eb2b0e9

Browse files
committed
docs: Clarify specifying deps, PR feedback
1 parent d081ea7 commit eb2b0e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/src/reference/specifying-dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ regex-lite = { git = "https://github.com/rust-lang/regex.git" }
197197
regex-syntax = { git = "https://github.com/rust-lang/regex.git" }
198198
```
199199

200-
The above rule does not apply to local paths specified via `path` key.
200+
The above rule does not apply to [`path` dependencies](#specifying-path-dependencies).
201201

202202
### Choice of commit
203203

@@ -248,7 +248,7 @@ regex = { git = "https://github.com/rust-lang/regex.git#4c59b70", path = "../reg
248248
Cargo locks the commits of `git` dependencies in `Cargo.lock` file at the time of their addition
249249
and checks for updates only when you run `cargo update` command.
250250

251-
### The role of _version_ key
251+
### The role of the `version` key
252252

253253
The `version` key always implies that the package is available in a registry,
254254
regardless of the presence of `git` or `path` keys.

0 commit comments

Comments
 (0)