Skip to content

Commit f2715d0

Browse files
committed
reverting updates in vendored source
1 parent 8540b46 commit f2715d0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/Instrumentation/Locks.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ public final class ReadWriteLock {
9393
}
9494

9595
extension ReadWriteLock {
96-
/// Acquire a reader lock for the duration of the given block.
96+
/// Acquire the reader lock for the duration of the given block.
9797
///
9898
/// This convenience method should be preferred to `lock` and `unlock` in
99-
/// most situations, as it ensures that the lock is released regardless
99+
/// most situations, as it ensures that the lock will be released regardless
100100
/// of how `body` exits.
101101
///
102102
/// - Parameter body: The block to execute while holding the lock.
@@ -110,10 +110,10 @@ extension ReadWriteLock {
110110
return try body()
111111
}
112112

113-
/// Acquire a writer lock for the duration of the given block.
113+
/// Acquire the writer lock for the duration of the given block.
114114
///
115115
/// This convenience method should be preferred to `lock` and `unlock` in
116-
/// most situations, as it ensures that the lock is released regardless
116+
/// most situations, as it ensures that the lock will be released regardless
117117
/// of how `body` exits.
118118
///
119119
/// - Parameter body: The block to execute while holding the lock.
@@ -128,7 +128,7 @@ extension ReadWriteLock {
128128
}
129129
}
130130

131-
/// A wrapper that provides locked access to a value.
131+
/// A wrapper providing locked access to a value.
132132
///
133133
/// Marked as @unchecked Sendable due to the synchronization being
134134
/// performed manually using locks.

0 commit comments

Comments
 (0)