Skip to content

Commit 4b6b8df

Browse files
committed
Clean up long line
1 parent 960175e commit 4b6b8df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/Generator.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ public struct Generator: Equatable {
8888

8989
// Take 4 bytes from the hash, starting at the given byte offset
9090
let truncatedHashPtr = ptr + Int(offset)
91-
let truncatedHash = truncatedHashPtr.withMemoryRebound(to: UInt32.self, capacity: 1, { $0.pointee })
91+
let truncatedHash = truncatedHashPtr.withMemoryRebound(to: UInt32.self, capacity: 1) {
92+
$0.pointee
93+
}
9294
return truncatedHash
9395
}
9496

0 commit comments

Comments
 (0)