Skip to content

Commit

Permalink
Auto merge of #10728 - jorendorff:patch-1, r=ehuss
Browse files Browse the repository at this point in the history
doc: Improve example of using the links field

`"foo"` doesn't really help say what this is.
  • Loading branch information
bors committed Jun 10, 2022
2 parents 4d92f07 + c586652 commit 1b3fce7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/doc/src/reference/manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,13 @@ script guide.

[links]: build-scripts.md#the-links-manifest-key

For example, a crate that links a native library called "git2" (e.g. `libgit2.a`
on Linux) may specify:

```toml
[package]
# ...
links = "foo"
links = "git2"
```

<a id="the-exclude-and-include-fields-optional"></a>
Expand Down

0 comments on commit 1b3fce7

Please sign in to comment.