Skip to content

Commit 24c4b66

Browse files
authored
Fix typo in README
1 parent c2b3d60 commit 24c4b66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ suspend inline fun <T> transaction(crossinline block: suspend () -> T): T
3333
Calling this function with a specific suspending block will run the block in
3434
the context of a [`CoroutineTransaction`][CoroutineTransaction].
3535

36-
Calls to `transaction` can be nested inside another, with each child re-use the
37-
first `CoroutineTransaction`. Only the outermost call will either
36+
Calls to `transaction` can be nested inside another, with each child re-using
37+
the first `CoroutineTransaction`. Only the outermost call will either
3838
[`commit`][Connection.commit] or [`rollback`][Connection.rollback] the
3939
transaction.
4040

@@ -46,7 +46,7 @@ completion and attempting to do so will result in a runtime failure.
4646
A transaction will establish a new [`Connection`][Connection] if an open one
4747
does not already exist in the active [`CoroutineContext`][CoroutineContext].
4848
If the transaction does establish a new [`Connection`][Connection], it will
49-
attempt to [close][Connection.close] it upon completion.
49+
attempt to [`close`][Connection.close] it upon completion.
5050

5151
An active [`CoroutineConnection`][CoroutineConnection] is accessible from the
5252
current [`CoroutineContext`][CoroutineContext]. The connection from the context

0 commit comments

Comments
 (0)