book
book copied to clipboard
Update main.rs to show the full example
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.