mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-14 10:45:06 +02:00
added block comments (#4743)
This commit is contained in:
@@ -30,6 +30,9 @@ Rust not only fast, but also easy and efficient to code in.
|
|||||||
// This is a comment. Line comments look like this...
|
// This is a comment. Line comments look like this...
|
||||||
// and extend multiple lines like this.
|
// and extend multiple lines like this.
|
||||||
|
|
||||||
|
/* Block comments
|
||||||
|
/* can be nested. */ */
|
||||||
|
|
||||||
/// Documentation comments look like this and support markdown notation.
|
/// Documentation comments look like this and support markdown notation.
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user