Rust uses the same comments style as C/C++: // and /* ... */.
Example with //:
// A C++ style comment.Example with /* ... */:
/* A C style comment. */
/* A C style comment
on multiple
lines. */Rust uses the same comments style as C/C++: // and /* ... */.
Example with //:
// A C++ style comment.Example with /* ... */:
/* A C style comment. */
/* A C style comment
on multiple
lines. */