Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Aug 7, 2024
1 parent 5e67bce commit fb2f3c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Database/Sources/Database/RocksDB.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ extension RocksDB {
}
let rest = data.dropFirst()
let first = data.first!
return first.withUnsafeBytes {
(bufferPtr: UnsafeRawBufferPointer) -> Result<R, Error> in
return first.withUnsafeBytes { (bufferPtr: UnsafeRawBufferPointer) -> Result<R, Error> in
guard let bufferAddress = bufferPtr.baseAddress else {
return .failure(.noData)
}
Expand Down

0 comments on commit fb2f3c7

Please sign in to comment.