Skip to content

Commit 27ac6b9

Browse files
committed
format
1 parent ec611c0 commit 27ac6b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Firestore/Source/Public/FirebaseFirestore/FIRFirestore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ NS_SWIFT_NAME(Firestore)
144144
*/
145145
- (void)runTransactionWithBlock:(id _Nullable (^)(FIRTransaction *, NSError **))updateBlock
146146
completion:(void (^)(id _Nullable result, NSError *_Nullable error))completion
147-
__attribute__((swift_async(none))); // Disable async import due to #9426.
147+
__attribute__((swift_async(none))); // Disable async import due to #9426.
148148

149149
/**
150150
* Creates a write batch, used for performing multiple writes as a single

Firestore/Swift/Source/AsyncAwait/Firestore+AsyncAwait.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ import Foundation
8484
/// @param updateBlock The block to execute within the transaction context.
8585
/// @param completion The block to call with the result or error of the transaction. This
8686
/// block will run even if the client is offline, unless the process is killed.
87-
func runTransaction(
88-
_ updateBlock: @escaping (Transaction, NSErrorPointer) -> Any?) async throws -> Any? {
87+
func runTransaction(_ updateBlock: @escaping (Transaction, NSErrorPointer)
88+
-> Any?) async throws -> Any? {
8989
// This needs to be wrapped in order to express a nullable return value upon success.
9090
// See https://github.com/firebase/firebase-ios-sdk/issues/9426 for more details.
9191
return try await withCheckedThrowingContinuation { continuation in

0 commit comments

Comments
 (0)