소스 검색

chore: Maintain consistency in the doc (#3832)

Maintain consistency in the doc like here: 


https://github.com/Alamofire/Alamofire/blob/5c68811d8b1eb4ac312a3968fa54e88a31a33abc/Source/Features/AuthenticationInterceptor.swift#L27

Signed-off-by: hugo-syn <hugo.vincent@synacktiv.com>
hugo-syn 1 년 전
부모
커밋
e9294925c5
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Source/Core/Request.swift
  2. 1 1
      Source/Core/URLConvertible+URLRequestConvertible.swift

+ 1 - 1
Source/Core/Request.swift

@@ -192,7 +192,7 @@ public class Request {
 
 
     // MARK: URLRequests
     // MARK: URLRequests
 
 
-    /// All `URLRequests` created on behalf of the `Request`, including original and adapted requests.
+    /// All `URLRequest`s created on behalf of the `Request`, including original and adapted requests.
     public var requests: [URLRequest] { mutableState.requests }
     public var requests: [URLRequest] { mutableState.requests }
     /// First `URLRequest` created on behalf of the `Request`. May not be the first one actually executed.
     /// First `URLRequest` created on behalf of the `Request`. May not be the first one actually executed.
     public var firstRequest: URLRequest? { requests.first }
     public var firstRequest: URLRequest? { requests.first }

+ 1 - 1
Source/Core/URLConvertible+URLRequestConvertible.swift

@@ -25,7 +25,7 @@
 import Foundation
 import Foundation
 
 
 /// Types adopting the `URLConvertible` protocol can be used to construct `URL`s, which can then be used to construct
 /// Types adopting the `URLConvertible` protocol can be used to construct `URL`s, which can then be used to construct
-/// `URLRequests`.
+/// `URLRequest`s.
 public protocol URLConvertible {
 public protocol URLConvertible {
     /// Returns a `URL` from the conforming instance or throws.
     /// Returns a `URL` from the conforming instance or throws.
     ///
     ///