Skip to content

Commit

Permalink
Auto merge of #11469 - nilclass:patch-1, r=weihanglo
Browse files Browse the repository at this point in the history
resolver.md: Fix naming in example

### What does this PR try to resolve?

It fixes what I believe to be a typo in the documentation.

### How should we test and review this PR?

Adding the example as it was to a `Cargo.toml` prints this warning:
```
warning: unused manifest key: dependency
```

With the corrected version it does not.
  • Loading branch information
bors committed Dec 10, 2022
2 parents 70898e5 + 439fde9 commit c6c69cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/reference/resolver.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ situations:
not currently being built. For example:

```toml
[dependency.common]
[dependencies.common]
version = "1.0"
features = ["f1"]

Expand Down

0 comments on commit c6c69cd

Please # to comment.