Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mgacy committed Dec 28, 2023
1 parent 440da67 commit 44f9d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Persistence/Persistence.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public struct Persistence {
/// Persists the given value.
///
/// - Parameter contact: The value to persist.
public func put<T: AttributeValueConvertible>(_ value: T) async throws -> Void {
public func put<T: AttributeValueConvertible>(_ value: T) async throws {
try await put(value.attributes)
}
}
Expand Down Expand Up @@ -72,7 +72,7 @@ public extension PersistenceFactory {
if let attributeProvider {
inputProvider = { attributes in
PutItemInput(
item: try attributes.merging(attributeProvider()) { (_, new) in new },
item: try attributes.merging(attributeProvider()) { _, new in new },
tableName: tableName
)
}
Expand Down

0 comments on commit 44f9d51

Please sign in to comment.