aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar fzaiser <fzaiser@google.com>2017-08-03 18:03:09 +0200
committerGravatar Dmitry Lomov <dslomov@google.com>2017-08-04 17:14:23 +0200
commitd367ae3a123e4bee505124b0d05696bf9d1eebdf (patch)
treeb4d2e69eadf112661fd45204bde492d9b9068a03 /site
parentf7f1a8f756f33f86b1bdc5023d5052117b62523e (diff)
Fix documentation: a list was inadvertently nested in the example code
RELNOTES: None. PiperOrigin-RevId: 164130466
Diffstat (limited to 'site')
-rw-r--r--site/docs/skylark/tutorial-sharing-variables.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/site/docs/skylark/tutorial-sharing-variables.md b/site/docs/skylark/tutorial-sharing-variables.md
index 72f7304b99..4cfb364289 100644
--- a/site/docs/skylark/tutorial-sharing-variables.md
+++ b/site/docs/skylark/tutorial-sharing-variables.md
@@ -40,13 +40,13 @@ COPTS = ["-DVERSION=5"]
cc_library(
name = "foo",
- copts = [COPTS],
+ copts = COPTS,
srcs = ["foo.cc"],
)
cc_library(
name = "bar",
- copts = [COPTS],
+ copts = COPTS,
srcs = ["bar.cc"],
deps = [":foo"],
)
@@ -74,13 +74,13 @@ load("//path/to:variables.bzl", "COPTS")
cc_library(
name = "foo",
- copts = [COPTS],
+ copts = COPTS,
srcs = ["foo.cc"],
)
cc_library(
name = "bar",
- copts = [COPTS],
+ copts = COPTS,
srcs = ["bar.cc"],
deps = [":foo"],
)