Skip to content

Commit

Permalink
Collapse adjacent blank lines
Browse files Browse the repository at this point in the history
  • Loading branch information
amartini51 committed Dec 19, 2024
1 parent 6aea603 commit d293687
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion TSPL.docc/GuidedTour/GuidedTour.md
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,6 @@ let userID = await server.connect()
```
-->


## Protocols and Extensions

Use `protocol` to declare a protocol.
Expand Down
3 changes: 0 additions & 3 deletions TSPL.docc/LanguageGuide/Concurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,6 @@ you'll get compile-time error instead of introducing a bug.
then it behaves like code outside of the actor
because it could execute concurrently with other code that's part of the actor
exercise the log actor, using its client API to mutate state
::
Expand Down Expand Up @@ -1379,7 +1378,6 @@ preventing the type from being sendable.
The Main Actor
~~~~~~~~~~~~~~
- the main actor is kinda-sorta like the main thread
- use it when you have shared mutable state,
Expand Down Expand Up @@ -1416,7 +1414,6 @@ preventing the type from being sendable.
the TemperatureSensor example
might be a good example to expand when explaining them.
::
while let result = try await group.next() { }
Expand Down
2 changes: 0 additions & 2 deletions TSPL.docc/LanguageGuide/Macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ When the @OptionSet macro comes back, change both links back:
[`OptionSet`]: https://developer.apple.com/documentation/swift/optionset-swift.protocol
-->


For comparison,
here's what the expanded version of the `@OptionSet` macro looks like.
You don't write this code,
Expand Down Expand Up @@ -636,7 +635,6 @@ The return-a-string APIs come from here
https://github.com/swiftlang/swift-syntax/blob/main/Sources/SwiftSyntaxBuilder/Syntax%2BStringInterpolation.swift
-->


<!-- OUTLINE:
- Note:
Expand Down
1 change: 0 additions & 1 deletion TSPL.docc/LanguageGuide/OpaqueTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -930,4 +930,3 @@ Licensed under Apache License v2.0 with Runtime Library Exception
See https://swift.org/LICENSE.txt for license information
See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
-->

7 changes: 0 additions & 7 deletions TSPL.docc/ReferenceManual/Attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ including important milestones.
}
```


<!--
- test: `renamed1`
Expand All @@ -266,7 +265,6 @@ including important milestones.
typealias MyProtocol = MyRenamedProtocol
```


<!--
- test: `renamed2`
Expand Down Expand Up @@ -1781,7 +1779,6 @@ into code that calls the static methods of the result builder type:
var manualNumber = ArrayBuilder.buildExpression(10)
```


<!--
- test: `array-result-builder`
Expand Down Expand Up @@ -1949,7 +1946,6 @@ into code that calls the static methods of the result builder type:
}
```


<!--
- test: `array-result-builder`
Expand Down Expand Up @@ -2005,7 +2001,6 @@ into code that calls the static methods of the result builder type:
var manualOptional = ArrayBuilder.buildOptional(partialResult)
```


<!--
- test: `array-result-builder`
Expand Down Expand Up @@ -2125,7 +2120,6 @@ into code that calls the static methods of the result builder type:
)
```


<!--
- test: `array-result-builder`
Expand Down Expand Up @@ -2166,7 +2160,6 @@ into code that calls the static methods of the result builder type:
let manualArray = ArrayBuilder.buildArray(temporary)
```


<!--
- test: `array-result-builder`
Expand Down
1 change: 0 additions & 1 deletion TSPL.docc/ReferenceManual/Declarations.md
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,6 @@ Any changes made within the function are not visible in the caller.
To make an in-out parameter instead,
you apply the `inout` parameter modifier.


```swift
func someFunction(a: inout Int) {
a += 1
Expand Down

0 comments on commit d293687

Please sign in to comment.