mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
Fix typo in example in libcore docs
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
||||
|
||||
Example:
|
||||
|
||||
> use std::{task, comm, io};
|
||||
> import std::{task, comm, io};
|
||||
>
|
||||
> let p = comm::port();
|
||||
> task::spawn(comm::chan(p), fn (c: chan<str>) {
|
||||
|
||||
Reference in New Issue
Block a user