Skip to content

Commit

Permalink
Fix mandatory provider example in cookbook
Browse files Browse the repository at this point in the history
RELNOTES: None
PiperOrigin-RevId: 155766583
  • Loading branch information
brandjon authored and kchodorow committed May 11, 2017
1 parent 20c446d commit aad0bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/versions/master/docs/skylark/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ sum = rule(
attrs={
"number": attr.int(default=1),
# All deps must provide all listed providers.
"deps": attr.label_list(providers=["number"]),
"deps": attr.label_list(providers=[NumberInfo]),
},
outputs = {"out": "%{name}.sum"}
)
Expand Down

0 comments on commit aad0bd0

Please sign in to comment.