book icon indicating copy to clipboard operation
book copied to clipboard

Update main.rs to show the full example

Open Hunter-Plus opened this issue 6 months ago • 1 comments

It's better if readers can also see "let (tx, mut rx) = trpl::channel();" in this example to align with others in this chapter. By doing this, beginners will have less unnecessary confusions when trying to run the demo.

Hunter-Plus avatar Apr 04 '25 08:04 Hunter-Plus