Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions guide/src/format/example.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fn main() {
println!("Hello World!");
#
# // You can even hide lines! :D
# println!("I am hidden! Expand the code snippet to see me");
# // You can even hide lines! :D
# println!("I am hidden! Expand the code snippet to see me");
}
4 changes: 2 additions & 2 deletions guide/src/format/mdbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ To call the `add_one` function, we pass it an `i32` and bind the returned value
#
# fn add_one(num: i32) -> i32 {
# num + 1
#}
# }
```
````

Expand All @@ -170,7 +170,7 @@ That is, it looks like this (click the "expand" icon to see the rest of the file
#
# fn add_one(num: i32) -> i32 {
# num + 1
#}
# }
```

## Inserting runnable Rust files
Expand Down