mirror of
https://github.com/apple/swift-http-types
synced 2026-11-27 05:04:21 +00:00
Fix format
This commit is contained in:
1 parent
43c78a4f9d
commit
37e6ccad1c
1 file changed
+3
-3
@@ -159,9 +159,9 @@ public struct HTTPResponse: Sendable, Hashable {
|
||||
public var status: Status {
|
||||
get {
|
||||
var codeIterator = self.pseudoHeaderFields.status.rawValue._storage.utf8.makeIterator()
|
||||
let code = (Int(codeIterator.next()! - 48) * 100 +
|
||||
Int(codeIterator.next()! - 48) * 10 +
|
||||
Int(codeIterator.next()! - 48))
|
||||
let code = Int(codeIterator.next()! - 48) * 100 +
|
||||
Int(codeIterator.next()! - 48) * 10 +
|
||||
Int(codeIterator.next()! - 48)
|
||||
return Status(uncheckedCode: code, reasonPhrase: self.reasonPhrase)
|
||||
}
|
||||
set {
|
||||
|
||||
Reference in new issue
Block a user