In example code for ctx.actions.run, put args in a list
Per the documentation for `ctx.actions.run`, the `arguments` parameter should be a list of strings or `actions.args()` objects:
https://docs.bazel.build/versions/master/skylark/lib/actions.html#run
When I try to pass a single `actions.args()` object in my own code, I get an error, so I believe the code sample is wrong.
Closes #13319.
PiperOrigin-RevId: 367724818
diff --git a/site/docs/skylark/rules.md b/site/docs/skylark/rules.md
index 9393665..0047dcd 100644
--- a/site/docs/skylark/rules.md
+++ b/site/docs/skylark/rules.md
@@ -390,7 +390,7 @@
ctx.actions.run(
mnemonic="ExampleCompile",
executable = ctx.executable._compiler,
- arguments=args,
+ arguments = [args],
inputs = inputs,
outputs = [output_file],
)