Browse Source

Fixing markup

Mattt Thompson 11 years ago
parent
commit
f66d4fa7e7
1 changed files with 3 additions and 2 deletions
  1. 3 2
      README.md

+ 3 - 2
README.md

@@ -595,8 +595,9 @@ extension Alamofire.Request {
         })
     }
 }
-
 ```
+
+```swift
 class User: ResponseObjectSerializable {
     let username: String
     let name: String
@@ -608,7 +609,7 @@ class User: ResponseObjectSerializable {
 }
 ```
 
-```
+```swift
 Alamofire.request(.GET, "http://example.com/users/mattt")
          .responseObject { (_, _, user: User?, _) in
              println(user)