diff --git a/doc/langref.html.in b/doc/langref.html.in
index 825d03899ea1ff167a2084d469ba4afe7be48317..40c2e431a306afa2237a903393676d0c8a5d11c4 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -3159,7 +3159,12 @@ test "linked list" {
.last = &node,
.len = 1,
};
+
+ // When using a pointer to a struct, fields can be accessed directly,
+ // without explicitly dereferencing the pointer.
+ // So you can do
try expect(list2.first.?.data == 1234);
+ // instead of try expect(list2.first.?.*.data == 1234);
}
{#code_end#}