Kaynağa Gözat

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

Christian Noon 8 yıl önce
ebeveyn
işleme
bab6257fba
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  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
 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
 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)
     }
 }
 ```