Skip to content

Commit 31453f9

Browse files
bmoxbillicitonion
andauthored
Correct documented type of CrateInfo.aliases field (dict key type is Target, not Label) (#3598)
Co-authored-by: Daniel Wagner-Hall <[email protected]>
1 parent 5fea899 commit 31453f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/private/providers.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
CrateInfo = provider(
1818
doc = "A provider containing general Crate information.",
1919
fields = {
20-
"aliases": "Dict[Label, String]: Renamed and aliased crates",
20+
"aliases": "Dict[Target, String]: Renamed and aliased crates",
2121
"cfgs": (
2222
"List[str]: The set of enabled cfgs for this crate. Note that this field is populated only " +
2323
"when @rules_rust//rust/settings:collect_cfgs is set."

0 commit comments

Comments
 (0)