From 0037ee507207431aa832ec294cb0e5ab1a9e0636 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Mon, 9 Dec 2024 11:52:47 -0800 Subject: [PATCH] Fix invalid `dict` syntax in macro docs Closes #24585. PiperOrigin-RevId: 704366607 Change-Id: Ibdc89e1ad30ded6f3b69edc2877fcac78c622ea9 --- site/en/extending/macros.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/en/extending/macros.md b/site/en/extending/macros.md index 5676b4fa9ddb9a..31c75ab23709d5 100644 --- a/site/en/extending/macros.md +++ b/site/en/extending/macros.md @@ -83,9 +83,9 @@ my_macro = macro( inherit_attrs = native.cc_library, attrs = { # override native.cc_library's `local_defines` attribute - local_defines = attr.string_list(default = ["FOO"]), + "local_defines": attr.string_list(default = ["FOO"]), # do not inherit native.cc_library's `defines` attribute - defines = None, + "defines": None, }, ... )