Skip to content

Commit 15c0b09

Browse files
authored
Fix parameter doc comments (#8)
1 parent 0b9d2b5 commit 15c0b09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/ConcurrencyExtras/ActorIsolated.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public final actor ActorIsolated<Value> {
7979
/// > await didOpenSettings.withValue { XCTAssertTrue($0) }
8080
/// > ```
8181
///
82-
/// - Parameters: operation: An operation to be performed on the actor with the underlying value.
82+
/// - Parameter operation: An operation to be performed on the actor with the underlying value.
8383
/// - Returns: The result of the operation.
8484
public func withValue<T>(
8585
_ operation: @Sendable (inout Value) throws -> T

Sources/ConcurrencyExtras/LockIsolated.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public final class LockIsolated<Value>: @unchecked Sendable {
3636
/// }
3737
/// ```
3838
///
39-
/// - Parameters: operation: An operation to be performed on the the underlying value with a lock.
39+
/// - Parameter operation: An operation to be performed on the the underlying value with a lock.
4040
/// - Returns: The result of the operation.
4141
public func withValue<T: Sendable>(
4242
_ operation: (inout Value) throws -> T

0 commit comments

Comments
 (0)