Skip to content

Commit ff32568

Browse files
authored
Merge pull request #36 from dduan/patch-1
Syntax-highlight code sample in Readme
2 parents 36ee81f + aa4c567 commit ff32568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ let x2 = chan.read() // Blocks until the dispatch block is executed and the Chan
4545
Unlike lock-based protection mechanisms, we can wrap mutable variables that must
4646
be accessed concurrently in an MVar.
4747

48-
```
48+
```swift
4949
import class Concurrent.MVar
5050

5151
/// An MVar (Mutable Variable) is a thread-safe synchronizing variable that can be used for

0 commit comments

Comments
 (0)