Fix the pointer operator link in the expressions diagram (#8154)

The `*x` / `&x` node of the expression precedence diagram in
`docs/design/expressions/README.md` links to
`docs/design/expressions/pointer.md`, which does not exist (404). The
pointer operators are documented in
`docs/design/expressions/pointer_operators.md`, so the `click pointer`
target now points there. All other `click` targets in the diagram exist.

An AI assistant found the broken link with a dead-link scan of the docs
and prepared the one-line change; the new target was checked against
`docs/design/expressions/`.

Assisted-by: Claude Opus 5.5
This commit is contained in:
Faris Basha TM authored and GitHub committed 2026-11-20 05:18:02 +00:00
1 parent 534197a3cd
commit 1359231ddc
1 file changed
+1 -1
+1 -1
View File
@@ -81,7 +81,7 @@ graph BT
pointer{"*x
&x"}
click pointer "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/pointer.md"
click pointer "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/pointer_operators.md"
negation["-x"]
click negation "https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/expressions/arithmetic.md"