Skip to content

Commit

Permalink
update comments in hello.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
shumbo committed Oct 1, 2023
1 parent feb84a2 commit 8c02c24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chorus_lib/examples/hello.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ struct HelloWorldChoreography;

// Implement the `Choreography` trait for `HelloWorldChoreography`
impl Choreography for HelloWorldChoreography {
// Define the set of locations involved in the choreography.
// In this case, the set consists of `Alice` and `Bob` and
// the choreography can use theses locations.
type L = LocationSet!(Alice, Bob);
fn run(self, op: &impl ChoreoOp<Self::L>) {
// Create a located value at Alice
Expand Down

0 comments on commit 8c02c24

Please sign in to comment.