Skip to content

Commit 21d63e8

Browse files
committed
Support highlighting in README
1 parent 6bb390d commit 21d63e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Swiftx provides a number of common data types and abstractions any codebase can
3434

3535
A small example:
3636

37-
```swiftz
37+
```swift
3838
import Swiftx
3939

4040
let str : String? = .Some("Hello ")
@@ -44,7 +44,7 @@ let greeting = (+"World") <^> str // .Some("Hello World")
4444
Seamless interaction with existing platform libraries is also possible with
4545
minimal effort:
4646

47-
```swiftz
47+
```swift
4848
import Foundation
4949
import struct Swiftx.Result
5050

@@ -58,7 +58,7 @@ let result : Result<[String]> = from({ ep in
5858

5959
Swiftx can even help with expressions of nothingness or errors:
6060

61-
```swiftz
61+
```swift
6262
import Swiftx
6363

6464
/// We may not be able to do what we said we'd do, but this definition compiles. At runtime,

0 commit comments

Comments
 (0)