Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/hello/comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() {
// Line comments start with two slashes.
// Everything after the slashes is ignored by the compiler.

// Example: This line won't execute
// Example: This line won't execute.
// println!("Hello, world!");

// Try removing the slashes above and running the code again.
Expand All @@ -39,12 +39,12 @@ fn main() {
// Block comments make it easy to toggle code on/off by adding
// or removing just one slash:

/* <- Add a '/' here to uncomment the entire block below
/* <- Add another '/' before the first '/' to uncomment the block below.

println!("Now");
println!("everything");
println!("executes!");
// Line comments inside remain unaffected
// Line comments inside remain unaffected.

// */

Expand Down
Loading