@@ -674,7 +674,7 @@ There are several kinds of item:
674674* [ modules] ( #modules )
675675* [ functions] ( #functions )
676676* [ type definitions] ( grammar.html#type-definitions )
677- * [ structures ] ( #structures )
677+ * [ structs ] ( #structs )
678678* [ enumerations] ( #enumerations )
679679* [ constant items] ( #constant-items )
680680* [ static items] ( #static-items )
@@ -1155,7 +1155,7 @@ type Point = (u8, u8);
11551155let p: Point = (41, 68);
11561156```
11571157
1158- ### Structures
1158+ ### Structs
11591159
11601160A _ structure_ is a nominal [ structure type] ( #structure-types ) defined with the
11611161keyword ` struct ` .
@@ -2614,21 +2614,21 @@ comma:
26142614### Structure expressions
26152615
26162616There are several forms of structure expressions. A _ structure expression_
2617- consists of the [ path] ( #paths ) of a [ structure item] ( #structures ) , followed by
2617+ consists of the [ path] ( #paths ) of a [ structure item] ( #structs ) , followed by
26182618a brace-enclosed list of one or more comma-separated name-value pairs,
26192619providing the field values of a new instance of the structure. A field name
26202620can be any identifier, and is separated from its value expression by a colon.
26212621The location denoted by a structure field is mutable if and only if the
26222622enclosing structure is mutable.
26232623
26242624A _ tuple structure expression_ consists of the [ path] ( #paths ) of a [ structure
2625- item] ( #structures ) , followed by a parenthesized list of one or more
2625+ item] ( #structs ) , followed by a parenthesized list of one or more
26262626comma-separated expressions (in other words, the path of a structure item
26272627followed by a tuple expression). The structure item must be a tuple structure
26282628item.
26292629
26302630A _ unit-like structure expression_ consists only of the [ path] ( #paths ) of a
2631- [ structure item] ( #structures ) .
2631+ [ structure item] ( #structs ) .
26322632
26332633The following are examples of structure expressions:
26342634
@@ -3145,7 +3145,7 @@ if` condition is evaluated. If all `if` and `else if` conditions evaluate to
31453145
31463146A ` match ` expression branches on a * pattern* . The exact form of matching that
31473147occurs depends on the pattern. Patterns consist of some combination of
3148- literals, destructured arrays or enum constructors, structures and tuples,
3148+ literals, destructured arrays or enum constructors, structs and tuples,
31493149variable binding specifications, wildcards (` .. ` ), and placeholders (` _ ` ). A
31503150` match ` expression has a * head expression* , which is the value to compare to
31513151the patterns. The type of the patterns must equal the type of the head
@@ -3469,7 +3469,7 @@ named reference to an [`enum` item](#enumerations).
34693469### Recursive types
34703470
34713471Nominal types &mdash ; [ enumerations] ( #enumerated-types ) and
3472- [ structures ] ( #structure-types ) &mdash ; may be recursive. That is, each ` enum `
3472+ [ structs ] ( #structure-types ) &mdash ; may be recursive. That is, each ` enum `
34733473constructor or ` struct ` field may refer, directly or indirectly, to the
34743474enclosing ` enum ` or ` struct ` type itself. Such recursion has restrictions:
34753475
@@ -3497,7 +3497,7 @@ let a: List<i32> = List::Cons(7, Box::new(List::Cons(13, Box::new(List::Nil))));
34973497### Pointer types
34983498
34993499All pointers in Rust are explicit first-class values. They can be copied,
3500- stored into data structures , and returned from functions. There are two
3500+ stored into data structs , and returned from functions. There are two
35013501varieties of pointer in Rust:
35023502
35033503* References (` & ` )
0 commit comments