Here’s a simple comment:
Comments can also be placed at the end of lines containing code:
But you’ll more often see them used in this format, with the comment on a separate line above the code it’s annotating:
Rust also has another kind of comment, documentation comments, which we’ll discuss in the “Publishing a Crate to Crates.io” section of Chapter 14.