Skip to content

Commit 9ac4b0b

Browse files
committed
Fix comment indentation.
1 parent 491275c commit 9ac4b0b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Sources/TSPL/TSPL.docc/LanguageGuide/Concurrency.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,21 +1137,21 @@ extension NonsendableTemperatureReading: Sendable { }
11371137
```
11381138

11391139
<!--
1140-
- test: `suppressing-implied-sendable-conformance`
1141-
1142-
-> struct NonsendableTemperatureReading {
1143-
-> var measurement: Int
1144-
-> }
1145-
---
1146-
-> @available(*, unavailable)
1147-
-> extension NonsendableTemperatureReading: Sendable { }
1148-
>> let nonsendable: Sendable = NonsendableTemperatureReading(measurement: 10)
1149-
!$ warning: conformance of 'NonsendableTemperatureReading' to 'Sendable' is unavailable; this is an error in Swift 6
1150-
!! let nonsendable: Sendable = NonsendableTemperatureReading(measurement: 10)
1151-
!! ^
1152-
!$ note: conformance of 'NonsendableTemperatureReading' to 'Sendable' has been explicitly marked unavailable here
1153-
!! extension NonsendableTemperatureReading: Sendable { }
1154-
!! ^
1140+
- test: `suppressing-implied-sendable-conformance`
1141+
1142+
-> struct NonsendableTemperatureReading {
1143+
-> var measurement: Int
1144+
-> }
1145+
---
1146+
-> @available(*, unavailable)
1147+
-> extension NonsendableTemperatureReading: Sendable { }
1148+
>> let nonsendable: Sendable = NonsendableTemperatureReading(measurement: 10)
1149+
!$ warning: conformance of 'NonsendableTemperatureReading' to 'Sendable' is unavailable; this is an error in Swift 6
1150+
!! let nonsendable: Sendable = NonsendableTemperatureReading(measurement: 10)
1151+
!! ^
1152+
!$ note: conformance of 'NonsendableTemperatureReading' to 'Sendable' has been explicitly marked unavailable here
1153+
!! extension NonsendableTemperatureReading: Sendable { }
1154+
!! ^
11551155
-->
11561156

11571157
In the code above,

0 commit comments

Comments
 (0)