Skip to content

Commit 7525201

Browse files
author
Ulrik Sverdrup
committed
reference: Fix typos and link in Structure types section
1 parent e50e9be commit 7525201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3491,7 +3491,7 @@ to an array or slice is always bounds-checked.
34913491
A `struct` *type* is a heterogeneous product of other types, called the
34923492
*fields* of the type.[^structtype]
34933493

3494-
[^structtype]: `struct` types are analogous `struct` types in C,
3494+
[^structtype]: `struct` types are analogous to `struct` types in C,
34953495
the *record* types of the ML family,
34963496
or the *structure* types of the Lisp family.
34973497

@@ -3505,7 +3505,7 @@ a corresponding struct *expression*; the resulting `struct` value will always
35053505
have the same memory layout.
35063506

35073507
The fields of a `struct` may be qualified by [visibility
3508-
modifiers](#re-exporting-and-visibility), to allow access to data in a
3508+
modifiers](#visibility-and-privacy), to allow access to data in a
35093509
structure outside a module.
35103510

35113511
A _tuple struct_ type is just like a structure type, except that the fields are

0 commit comments

Comments
 (0)