File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ public extension HttpBody {
3939 }
4040}
4141
42-
4342extension HttpBody : CustomDebugStringConvertible {
4443 public var debugDescription : String {
4544 var bodyAsString : String ?
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public class DataStreamReader: StreamReader {
4545 let count = Int ( maxBytes ?? availableForRead)
4646 var data = Data ( count: count)
4747 withLockingClosure {
48- var bytesRead : Int ? = nil
48+ var bytesRead : Int ?
4949 data. withUnsafeMutableBytes { buffer in
5050 let typedBuffer = buffer. bindMemory ( to: UInt8 . self)
5151 bytesRead = byteBuffer. read ( buffer: typedBuffer)
Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ extension AwsCommonRuntimeKit.RetryStrategy {
101101 maxRetries: options. maxRetries,
102102 backOffScaleFactor: options. backOffScaleFactor,
103103 jitterMode: options. jitterMode. toCRTType ( ) ,
104- generateRandom: nil // we should pass in the options.generateRandom but currently it fails since the underlying closure is a c closure
104+ generateRandom: nil // we should pass in the options.generateRandom but currently
105+ // it fails since the underlying closure is a c closure
105106 )
106107 }
107108}
You can’t perform that action at this time.
0 commit comments