RUST CommentsRUST support 2 types of comments:
- Single Line
Single Line CommentFor single line Comment we use //
For Multi-Line Comment we use /* Comment text */
In this page (written and validated by A. Gawali) you learned about Rust Comments . What's Next? If you are interested in completing Rust tutorial, your next topic will be learning about: Rust Read single line from stdin.
Incorrect info or code snippet? We take very seriously the accuracy of the information provided on our website. We also make sure to test all snippets and examples provided for each section. If you find any incorrect information, please send us an email about the issue: email@example.com.