about summary refs log tree commit diff
path: root/doc/tutorial.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial.md')
-rw-r--r--doc/tutorial.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index f88baf4a190..fc79e5fcd33 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -2996,9 +2996,9 @@ message to the port.  The next statement actually spawns the child:
 
 ~~~~
 # import task::{spawn};
-# import comm::{port, chan};
+# import comm::{Port, Chan};
 # fn some_expensive_computation() -> int { 42 }
-# let port = port();
+# let port = Port();
 # let chan = port.chan();
 do spawn {
     let result = some_expensive_computation();