Skip to content

Commit 0b59071

Browse files
authored
Merge pull request #2910 from MaxDesiatov/patch-2
Fix sample code in `0428-resolve-distributed-actor-protocols.md`
2 parents 2af25b6 + a828476 commit 0b59071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0428-resolve-distributed-actor-protocols.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The macro must be attached to the a `protocol` declaration that is a `Distribute
9090
import Distributed
9191

9292
@Resolvable
93-
protocol Greeter where ActorSystem: DistributedActorSystem<any Codable> {
93+
protocol Greeter: DistributedActor where ActorSystem: DistributedActorSystem<any Codable> {
9494
distributed func greet(name: String) -> String
9595
}
9696
```

0 commit comments

Comments
 (0)