Skip to content

Commit 1cff2ee

Browse files
committed
Auto merge of #13305 - linyihai:issue-13289, r=epage
doc: add a heading to highlight "How to find features enabled on dependencies" ### What does this PR try to resolve? Maybe fixes #13289 Add a title to highlight "How to find features enabled on dependencies"? ### How should we test and review this PR? ### Additional information
2 parents 350098d + aa9a1cf commit 1cff2ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/src/reference/resolver.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,9 @@ rand v0.8.5
511511
└── ...
512512
```
513513

514-
You might identify that it was an activated feature that caused `rand` to show up. To figure out which package activated the feature, you can add the `--edges features`
514+
### Why was that feature on this dependency enabled?
515+
516+
You might identify that it was an activated feature that caused `rand` to show up. **To figure out which package activated the feature, you can add the `--edges features`**
515517
```console
516518
$ cargo tree --workspace --target all --all-features --edges features --invert rand
517519
rand v0.8.5

0 commit comments

Comments
 (0)