Skip to content

Commit 1be926b

Browse files
authored
Merge pull request #28 from CoLearn-Dev/fix-example
- fix typo in example
2 parents 0886f6e + 27d32fb commit 1be926b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/protocol_greetings_with_instant_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>
3636
let is0 = InstantServer::new();
3737
let is1 = InstantServer::new();
3838
let cl0 = is0.get_colink().switch_to_generated_user().await?;
39-
let cl1 = is0.get_colink().switch_to_generated_user().await?;
39+
let cl1 = is1.get_colink().switch_to_generated_user().await?;
4040
colink::protocol_attach!(
4141
cl0,
4242
("greetings:initiator", Initiator),

0 commit comments

Comments
 (0)