// inline comment/* multiline * comment */
Variable assignments can be annotated// This number is used because... let magic_number = 123;
There are two styles of doc-comments://! document enclosing item (typically used for crates, modules) /// document following item (typically used for objects, functions)
For more details, see rust documentation.