Skip to content

Commit eefcbf3

Browse files
committed
libswift: clean up SIL/Utils.swift formatting
1 parent d7b6332 commit eefcbf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SwiftCompilerSources/Sources/SIL/Utils.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ extension BridgedStringRef {
172172
let buffer = UnsafeBufferPointer<UInt8>(start: data, count: Int(length))
173173
return String(decoding: buffer, as: UTF8.self)
174174
}
175-
175+
176176
func takeString() -> String {
177177
let str = string
178178
freeBridgedStringRef(self)
@@ -205,7 +205,7 @@ extension UnsafeMutablePointer where Pointee == BridgedSwiftObject {
205205
let ptr = Unmanaged.passUnretained(object).toOpaque()
206206
self = ptr.bindMemory(to: BridgedSwiftObject.self, capacity: 1)
207207
}
208-
208+
209209
func getAs<T: AnyObject>(_ objectType: T.Type) -> T {
210210
return Unmanaged<T>.fromOpaque(self).takeUnretainedValue()
211211
}

0 commit comments

Comments
 (0)