Skip to content

Commit d418faf

Browse files
committed
Use single-line comments, for more accurate search.
1 parent e1e3df7 commit d418faf

File tree

5 files changed

+10
-30
lines changed

5 files changed

+10
-30
lines changed

Sources/TSPL/TSPL.docc/GuidedTour/GuidedTour.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,7 @@ occupations["Jayne"] = "Public Relations"
263263
```
264264
-->
265265

266-
<!--
267-
Apple Books screenshot begins here.
268-
-->
266+
<!-- Apple Books screenshot begins here. -->
269267

270268
Arrays automatically grow as you add elements.
271269

@@ -390,9 +388,7 @@ or contains `nil` to indicate that a value is missing.
390388
Write a question mark (`?`) after the type of a value
391389
to mark the value as optional.
392390

393-
<!--
394-
Apple Books screenshot ends here.
395-
-->
391+
<!-- Apple Books screenshot ends here. -->
396392

397393
<!--
398394
REFERENCE

Sources/TSPL/TSPL.docc/LanguageGuide/AdvancedOperators.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ which has its first four bits set to `0`,
7272
and its second four bits set to `1`.
7373
This is equivalent to a decimal value of `15`.
7474

75-
<!--
76-
Apple Books screenshot begins here.
77-
-->
75+
<!-- Apple Books screenshot begins here. -->
7876

7977
The bitwise NOT operator is then used to create a new constant called `invertedBits`,
8078
which is equal to `initialBits`,
@@ -122,9 +120,7 @@ if the bits are equal to `1` in *either* input number:
122120

123121
![](bitwiseOR)
124122

125-
<!--
126-
Apple Books screenshot ends here.
127-
-->
123+
<!-- Apple Books screenshot ends here. -->
128124

129125
In the example below,
130126
the values of `someBits` and `moreBits` have different bits set to `1`.

Sources/TSPL/TSPL.docc/LanguageGuide/ControlFlow.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,7 @@ while <#condition#> {
308308
This example plays a simple game of *Snakes and Ladders*
309309
(also known as *Chutes and Ladders*):
310310

311-
<!--
312-
Apple Books screenshot begins here.
313-
-->
311+
<!-- Apple Books screenshot begins here. -->
314312

315313
![](snakesAndLadders)
316314

@@ -364,9 +362,7 @@ board[14] = -10; board[19] = -11; board[22] = -02; board[24] = -08
364362
```
365363
-->
366364

367-
<!--
368-
Apple Books screenshot ends here.
369-
-->
365+
<!-- Apple Books screenshot ends here. -->
370366

371367
Square 3 contains the bottom of a ladder that moves you up to square 11.
372368
To represent this, `board[03]` is equal to `+08`,

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,7 @@ Setting the `center` property calls the setter for `center`,
431431
which modifies the `x` and `y` values of the stored `origin` property,
432432
and moves the square to its new position.
433433

434-
<!--
435-
Apple Books screenshot begins here.
436-
-->
434+
<!-- Apple Books screenshot begins here. -->
437435

438436
![](computedProperties)
439437

@@ -484,9 +482,7 @@ struct AlternativeRect {
484482
```
485483
-->
486484

487-
<!--
488-
Apple Books screenshot ends here.
489-
-->
485+
<!-- Apple Books screenshot ends here. -->
490486

491487
### Shorthand Getter Declaration
492488

Sources/TSPL/TSPL.docc/ReferenceManual/Expressions.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -875,9 +875,7 @@ struct Point {
875875
```
876876
-->
877877

878-
<!--
879-
Apple Books screenshot begins here.
880-
-->
878+
<!-- Apple Books screenshot begins here. -->
881879

882880
> Grammar of a self expression:
883881
>
@@ -960,9 +958,7 @@ it's understood to be asynchronous.
960958
There are several special forms
961959
that allow closures to be written more concisely:
962960

963-
<!--
964-
Apple Books screenshot ends here.
965-
-->
961+
<!-- Apple Books screenshot ends here. -->
966962

967963
- A closure can omit the types
968964
of its parameters, its return type, or both.

0 commit comments

Comments
 (0)