Procházet zdrojové kódy

Fixed up code sample formatting in the metrics section of the README.

Christian Noon před 8 roky
rodič
revize
bab6257fba
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -816,7 +816,7 @@ In iOS and tvOS 10 and macOS 10.12, Apple introduced the new [URLSessionTaskMetr
 
 
 ```swift
 ```swift
 Alamofire.request("https://httpbin.org/get").responseJSON { response in
 Alamofire.request("https://httpbin.org/get").responseJSON { response in
-	print(response.metrics)
+    print(response.metrics)
 }
 }
 ```
 ```
 
 
@@ -824,8 +824,8 @@ It's important to note that these APIs are only available on iOS and tvOS 10 and
 
 
 ```swift
 ```swift
 Alamofire.request("https://httpbin.org/get").responseJSON { response in
 Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    if #available(iOS 10.0. *) {
-		print(response.metrics)
+    if #available(iOS 10.0, *) {
+        print(response.metrics)
     }
     }
 }
 }
 ```
 ```