Skip to content

Commit

Permalink
Fix typo in an example of crates_repository rule (#1520)
Browse files Browse the repository at this point in the history
This fixes a typo in an example of crates_repository rule.
  • Loading branch information
tetsuok committed Aug 18, 2022
1 parent 8bfed1c commit 055abd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crate_universe/private/crates_repository.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ load("@rules_rust//crate_universe:defs.bzl", "crates_repository", "crate")
crates_repository(
name = "crate_index",
annotations = annotations = {
annotations = {
"rand": [crate.annotation(
default_features = False,
features = ["small_rng"],
Expand Down
2 changes: 1 addition & 1 deletion docs/crate_universe.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ load("@rules_rust//crate_universe:defs.bzl", "crates_repository", "crate")

crates_repository(
name = "crate_index",
annotations = annotations = {
annotations = {
"rand": [crate.annotation(
default_features = False,
features = ["small_rng"],
Expand Down

0 comments on commit 055abd4

Please sign in to comment.