about summary refs log tree commit diff
path: root/doc/guide-rustpkg.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guide-rustpkg.md')
-rw-r--r--doc/guide-rustpkg.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guide-rustpkg.md b/doc/guide-rustpkg.md
index a8265cc5b7a..eccdf249156 100644
--- a/doc/guide-rustpkg.md
+++ b/doc/guide-rustpkg.md
@@ -143,7 +143,7 @@ Next, let's add a source file:
 #[license = "MIT"];
 
 pub fn world() {
-    println("Hello, world.");
+    println!("Hello, world.");
 }
 ~~~