rust-lang-nursery / rust-cookbook

https://rust-lang-nursery.github.io/rust-cookbook
Creative Commons Zero v1.0 Universal
2.24k stars 286 forks source link

Add Error to Result added note for tokio #674

Open sain-VO opened 1 year ago

sain-VO commented 1 year ago

Added error to Result for main, otherwise it won't compile. If tokio isn't added with features = ["full"] main won't work, so I thought it would be a good idea to remind them.

fixes #ISSUE_ID

:tada: Hi and welcome! Please read the text below and remove it - Thank you! :tada:

No worries if anything in these lists is unclear. Just submit the PR and ask away! :+1:


Things to check before submitting a PR

Things to do after submitting PR

Thank you for reading, you may now delete this text! Thank you! :smile: