Skip to content

Commit ce8dc50

Browse files
Don't filter on workspace members when scraping doc examples
1 parent bec67ed commit ce8dc50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ fn prepare_rustdoc(cx: &Context<'_, '_>, unit: &Unit) -> CargoResult<ProcessBuil
743743
.arg(scrape_output_path(cx, unit)?);
744744

745745
// Only scrape example for items from crates in the workspace, to reduce generated file size
746-
for pkg in cx.bcx.ws.members() {
746+
for pkg in cx.bcx.packages.packages() {
747747
let names = pkg
748748
.targets()
749749
.iter()

0 commit comments

Comments
 (0)