Skip to content

Commit 23ffb2a

Browse files
committed
style tweaks
1 parent 6a4d88f commit 23ffb2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/Overlays/_Testing_WinSDK/Support/Additions/GUIDAdditions.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ public import WinSDK
1717

1818
@_spi(_)
1919
extension GUID: @retroactive Equatable, @retroactive Hashable {
20+
/// This GUID as an integer.
2021
var uint128Value: UInt128 {
21-
unsafe withUnsafeBytes(of: self) { buffer in
22-
// GUID is 32-bit-aligned only, so use loadUnaligned().
23-
unsafe buffer.baseAddress!.loadUnaligned(as: UInt128.self)
22+
withUnsafeBytes(of: self) { buffer in
23+
buffer.baseAddress!.loadUnaligned(as: UInt128.self)
2424
}
2525
}
2626

0 commit comments

Comments
 (0)