@@ -1358,7 +1358,7 @@ extension String {
13581358 // not add the \\?\ prefix required by other functions under these conditions).
13591359 let dwLength : DWORD = GetFullPathNameW ( pwszPath, 0 , nil , nil )
13601360 return try withUnsafeTemporaryAllocation ( of: WCHAR . self, capacity: Int ( dwLength) ) { pwszFullPath in
1361- guard ( 1 ..< dwLength) . contains ( GetFullPathNameW ( pwszPath, DWORD ( pwszFullPath. count) , pwszFullPath. baseAddress, nil ) ) else {
1361+ guard ( 1 ..< dwLength) . contains ( GetFullPathNameW ( pwszPath, DWORD ( pwszFullPath. count) , pwszFullPath. baseAddress, nil ) ) else {
13621362 throw SubprocessError (
13631363 code: . init( . invalidWindowsPath( self ) ) ,
13641364 underlyingError: . init( rawValue: GetLastError ( ) )
@@ -1434,7 +1434,7 @@ extension UInt8 {
14341434 static var _period : UInt8 { UInt8 ( ascii: " . " ) }
14351435
14361436 var isLetter : Bool ? {
1437- return ( 0x41 ... 0x5a ) ~= self || ( 0x61 ... 0x7a ) ~= self
1437+ return ( 0x41 ... 0x5a ) ~= self || ( 0x61 ... 0x7a ) ~= self
14381438 }
14391439}
14401440
@@ -1459,7 +1459,7 @@ internal func fillNullTerminatedWideStringBuffer(
14591459 switch count {
14601460 case 0 :
14611461 throw SubprocessError . UnderlyingError ( rawValue: GetLastError ( ) )
1462- case 1 ..< DWORD ( buffer. count) :
1462+ case 1 ..< DWORD ( buffer. count) :
14631463 let result = String ( decodingCString: buffer. baseAddress!, as: UTF16 . self)
14641464 assert ( result. utf16. count == count, " Parsed UTF-16 count \( result. utf16. count) != reported UTF-16 count \( count) " )
14651465 return result
0 commit comments