doc: fix typo in example

Closes #6878.

PiperOrigin-RevId: 224864125
diff --git a/site/docs/configurable-attributes.md b/site/docs/configurable-attributes.md
index e54dd60..a125d22 100644
--- a/site/docs/configurable-attributes.md
+++ b/site/docs/configurable-attributes.md
@@ -698,7 +698,7 @@
 ```python
 # myproject/BUILD
 
-load("//myproject:defx.bzl", "my_custom_bazel_rule")
+load("//myproject:defs.bzl", "my_custom_bazel_rule")
 load("//myproject:defs.bzl", "my_custom_bazel_macro")
 
 my_custom_bazel_rule(
@@ -795,7 +795,7 @@
   print("TRUE" if boolval else "FALSE")
 
 $ cat myproject/BUILD
-load("//myproject:defx.bzl", "my_boolean_macro")
+load("//myproject:defs.bzl", "my_boolean_macro")
 my_boolean_macro(
     boolval = select({
         "//tools/target_cpu:x86": True,