Skip to content

Commit 8d74cf8

Browse files
committed
Add println statement to rendered code block example
1 parent 6dc8242 commit 8d74cf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/doc/rustdoc/src/documentation-tests.md

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ It will render like this:
8989
```rust
9090
/// Some documentation.
9191
# fn foo() {}
92+
println!("Hello, World!");
9293
```
9394

9495
Yes, that's right: you can add lines that start with `# `, and they will

0 commit comments

Comments
 (0)