Skip to content

Commit

Permalink
Fix comment indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
amartini51 committed Nov 4, 2022
1 parent 491275c commit 9ac4b0b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions Sources/TSPL/TSPL.docc/LanguageGuide/Concurrency.md
Original file line number Diff line number Diff line change
Expand Up @@ -1137,21 +1137,21 @@ extension NonsendableTemperatureReading: Sendable { }
```

<!--
- test: `suppressing-implied-sendable-conformance`
-> struct NonsendableTemperatureReading {
-> var measurement: Int
-> }
---
-> @available(*, unavailable)
-> extension NonsendableTemperatureReading: Sendable { }
>> let nonsendable: Sendable = NonsendableTemperatureReading(measurement: 10)
!$ warning: conformance of 'NonsendableTemperatureReading' to 'Sendable' is unavailable; this is an error in Swift 6
!! let nonsendable: Sendable = NonsendableTemperatureReading(measurement: 10)
!! ^
!$ note: conformance of 'NonsendableTemperatureReading' to 'Sendable' has been explicitly marked unavailable here
!! extension NonsendableTemperatureReading: Sendable { }
!! ^
- test: `suppressing-implied-sendable-conformance`
-> struct NonsendableTemperatureReading {
-> var measurement: Int
-> }
---
-> @available(*, unavailable)
-> extension NonsendableTemperatureReading: Sendable { }
>> let nonsendable: Sendable = NonsendableTemperatureReading(measurement: 10)
!$ warning: conformance of 'NonsendableTemperatureReading' to 'Sendable' is unavailable; this is an error in Swift 6
!! let nonsendable: Sendable = NonsendableTemperatureReading(measurement: 10)
!! ^
!$ note: conformance of 'NonsendableTemperatureReading' to 'Sendable' has been explicitly marked unavailable here
!! extension NonsendableTemperatureReading: Sendable { }
!! ^
-->

In the code above,
Expand Down

0 comments on commit 9ac4b0b

Please sign in to comment.