Skip to content

Commit 8caa5c5

Browse files
committed
[Concurrency] Add a missing public.
The default implementation of `traits` on `Clock` needs to be `public`. rdar://141348916
1 parent 869622f commit 8caa5c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Clock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public struct ClockTraits: OptionSet {
220220
extension Clock {
221221
/// The traits associated with this clock instance.
222222
@available(SwiftStdlib 6.2, *)
223-
var traits: ClockTraits {
223+
public var traits: ClockTraits {
224224
return []
225225
}
226226
}

0 commit comments

Comments
 (0)