소스 검색

Fixed up formatting in a couple places…no functional changes.

# Conflicts:
#	Source/Validation.swift
Christian Noon 9 년 전
부모
커밋
a01dfc485f
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Source/Stream.swift
  2. 1 1
      Source/Validation.swift

+ 1 - 1
Source/Stream.swift

@@ -64,7 +64,7 @@ extension Manager {
         - parameter hostName: The hostname of the server to connect to.
         - parameter port:     The port of the server to connect to.
 
-        :returns: The created stream request.
+        - returns: The created stream request.
     */
     public func stream(hostName: String, port: Int) -> Request {
         return stream(.stream(hostName, port))

+ 1 - 1
Source/Validation.swift

@@ -138,7 +138,7 @@ extension Request {
 
         - returns: The request.
     */
-    public func validate<S : Sequence where S.Iterator.Element == String>(contentType acceptableContentTypes: S) -> Self {
+    public func validate<S: Sequence where S.Iterator.Element == String>(contentType acceptableContentTypes: S) -> Self {
         return validate { _, response in
             guard let validData = self.delegate.data, validData.count > 0 else { return .success }