From db294a98155ce78e39d65db9ae104185fe13016e Mon Sep 17 00:00:00 2001 From: aryeh Date: Sat, 1 Oct 2022 20:33:39 -0700 Subject: [PATCH 1/2] Add link to Further Rule Documentation Update https://bazel.build/rules/lib/rule to point to https://bazel.build/extending/rules for more information about `rule(...)` --- .../com/google/devtools/build/lib/packages/RuleFunction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java b/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java index 3d6aab70744642..6ae2d5525c8009 100644 --- a/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java +++ b/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java @@ -25,7 +25,8 @@ doc = "A callable value representing the type of a native or Starlark rule. Calling the value" + " during evaluation of a package's BUILD file creates an instance of the rule and" - + " adds it to the package's target set.") + + " adds it to the package's target set. For more information, visit this page about" + + "Rules." public interface RuleFunction extends StarlarkCallable { RuleClass getRuleClass(); } From cb3a1874c8db0aeff0d0188ddc32aef9511aed31 Mon Sep 17 00:00:00 2001 From: aryeh Date: Sun, 20 Nov 2022 21:10:37 -0800 Subject: [PATCH 2/2] Add missing paren --- .../com/google/devtools/build/lib/packages/RuleFunction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java b/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java index 6ae2d5525c8009..54429fcc1032b2 100644 --- a/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java +++ b/src/main/java/com/google/devtools/build/lib/packages/RuleFunction.java @@ -26,7 +26,7 @@ "A callable value representing the type of a native or Starlark rule. Calling the value" + " during evaluation of a package's BUILD file creates an instance of the rule and" + " adds it to the package's target set. For more information, visit this page about" - + "Rules." + + "Rules.") public interface RuleFunction extends StarlarkCallable { RuleClass getRuleClass(); }