Skip to content

Commit 1d2ef3a

Browse files
committed
[stdlib] Move the remaining 5.11 availability to 6.0
Presumably this was a mid-air collision between two PRs. Just update the remaining references.
1 parent a703f22 commit 1d2ef3a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stdlib/public/Distributed/DistributedActorSystem.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ public protocol DistributedActorSystem<SerializationRequirement>: Sendable {
382382
/// ## Errors
383383
/// This method is allowed to throw because of underlying transport or serialization errors,
384384
/// as well as by re-throwing the error received from the remote callee (if able to).
385-
@available(SwiftStdlib 5.11, *)
385+
@available(SwiftStdlib 6.0, *)
386386
func remoteCall<Act, Err, Res>(
387387
on actor: Act,
388388
target: RemoteCallTarget,
@@ -762,7 +762,7 @@ public protocol DistributedTargetInvocationEncoder<SerializationRequirement> {
762762

763763
/// Record an argument of `Argument` type.
764764
/// This will be invoked for every argument of the target, in declaration order.
765-
@available(SwiftStdlib 5.11, *)
765+
@available(SwiftStdlib 6.0, *)
766766
mutating func recordArgument<Value/*: SerializationRequirement*/>(
767767
_ argument: RemoteCallArgument<Value>
768768
) throws
@@ -775,7 +775,7 @@ public protocol DistributedTargetInvocationEncoder<SerializationRequirement> {
775775

776776
/// Record the return type of the distributed method.
777777
/// This method will not be invoked if the target is returning `Void`.
778-
@available(SwiftStdlib 5.11, *)
778+
@available(SwiftStdlib 6.0, *)
779779
mutating func recordReturnType<R/*: SerializationRequirement*/>(_ type: R.Type) throws
780780

781781
/// Invoked to signal to the encoder that no further `record...` calls will be made on it.
@@ -914,7 +914,7 @@ public protocol DistributedTargetInvocationDecoder<SerializationRequirement> {
914914
/// buffer for all the arguments and their expected types. The 'pointer' passed here is a pointer
915915
/// to a "slot" in that pre-allocated buffer. That buffer will then be passed to a thunk that
916916
/// performs the actual distributed (local) instance method invocation.
917-
@available(SwiftStdlib 5.11, *)
917+
@available(SwiftStdlib 6.0, *)
918918
mutating func decodeNextArgument<Argument/*: SerializationRequirement*/>() throws -> Argument
919919

920920
/// Decode the specific error type that the distributed invocation target has recorded.
@@ -963,7 +963,7 @@ public protocol DistributedTargetInvocationResultHandler<SerializationRequiremen
963963

964964
/// Invoked when the distributed target execution returns successfully.
965965
/// The `value` is the return value of the executed distributed invocation target.
966-
@available(SwiftStdlib 5.11, *)
966+
@available(SwiftStdlib 6.0, *)
967967
func onReturn<Success/*: SerializationRequirement*/>(value: Success) async throws
968968

969969
/// Invoked when the distributed target execution of a `Void` returning

0 commit comments

Comments
 (0)