Skip to content

Commit d14f2a8

Browse files
authored
Adjust abstracts (#78)
Fixes rdar://102988487 Fixes rdar://102988514 Fixes rdar://102995541 Fixes rdar://103188927
2 parents 303719f + b4a1266 commit d14f2a8

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

Sources/TSPL/TSPL.docc/LanguageGuide/BasicOperators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Basic Operators
22

3-
Perform assignment, arithmetic, comparison, and Boolean operations.
3+
Perform operations like assignment, arithmetic, and comparison.
44

55
An *operator* is a special symbol or phrase that you use to
66
check, change, or combine values.

Sources/TSPL/TSPL.docc/LanguageGuide/ClassesAndStructures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ come at the cost of increased complexity.
5353
As a general guideline,
5454
prefer structures because they're easier to reason about,
5555
and use classes when they're appropriate or necessary.
56-
In practice, this means most of the custom data types you define
56+
In practice, this means most of the custom types you define
5757
will be structures and enumerations.
5858
For a more detailed comparison,
5959
see [Choosing Between Structures and Classes](https://developer.apple.com/documentation/swift/choosing_between_structures_and_classes).

Sources/TSPL/TSPL.docc/LanguageGuide/NestedTypes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Nested Types
22

3-
Define one data type inside of another data type.
3+
Define types inside the scope of another type.
44

55
Enumerations are often created to support a specific class or structure's functionality.
66
Similarly, it can be convenient to define utility classes and structures

Sources/TSPL/TSPL.docc/LanguageGuide/Properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@ the property wrapper exposes only one piece of information ---
15471547
whether the number was adjusted ---
15481548
so it exposes that Boolean value as its projected value.
15491549
A wrapper that needs to expose more information
1550-
can return an instance of some other data type,
1550+
can return an instance of some other type,
15511551
or it can return `self`
15521552
to expose the instance of the wrapper as its projected value.
15531553

Sources/TSPL/TSPL.docc/ReferenceManual/Statements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Statements
22

3-
Structure groups of expressions and control their behavior.
3+
Group expressions and control the flow of execution.
44

55
In Swift, there are three kinds of statements: simple statements, compiler control statements,
66
and control flow statements.

Sources/TSPL/TSPL.docc/ReferenceManual/Types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Types
22

3-
Use built-in nominal and structural types.
3+
Use built-in named and compound types.
44

55
In Swift, there are two kinds of types: named types and compound types.
66
A *named type* is a type that can be given a particular name when it's defined.

0 commit comments

Comments
 (0)