Skip to content

Commit 9446d43

Browse files
Rollup merge of #80222 - GreenRecycleBin:daniel/fix-rustc-std-workspace-core-documentation, r=jyn514
Fix rustc-std-workspace-core documentation r? ```@steveklabnik```
2 parents 536754f + e614a72 commit 9446d43

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

library/rustc-std-workspace-core/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ This crate is a shim and empty crate which simply depends on `libcore` and
44
reexports all of its contents. The crate is the crux of empowering the standard
55
library to depend on crates from crates.io
66

7-
Crates on crates.io that the standard library depend on the
8-
`rustc-std-workspace-core` crate from crates.io. On crates.io, however, this
9-
crate is empty. We use `[patch]` to override it to this crate in this
10-
repository. As a result, crates on crates.io will draw a dependency edge to
11-
`libcore`, the version defined in this repository. That should draw all the
12-
dependency edges to ensure Cargo builds crates successfully!
7+
Crates on crates.io that the standard library depend on need to depend on the
8+
`rustc-std-workspace-core` crate from crates.io, which is empty. We use
9+
`[patch]` to override it to this crate in this repository. As a result, crates
10+
on crates.io will draw a dependency edge to `libcore`, the version defined in
11+
this repository. That should draw all the dependency edges to ensure Cargo
12+
builds crates successfully!
1313

1414
Note that crates on crates.io need to depend on this crate with the name `core`
1515
for everything to work correctly. To do that they can use:

0 commit comments

Comments
 (0)