diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 23:44:22 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-14 23:49:22 -0800 |
| commit | e72ddbdc25a2696a41053832fad7d9b0428819af (patch) | |
| tree | 3613c51d4d03fc5c2f9b967fe8c82b67ca3238a7 /src/libstd/comm | |
| parent | 6667f90292d87271204caeef451cf2a977a80fa4 (diff) | |
| download | rust-e72ddbdc25a2696a41053832fad7d9b0428819af.tar.gz rust-e72ddbdc25a2696a41053832fad7d9b0428819af.zip | |
Fix all code examples
Diffstat (limited to 'src/libstd/comm')
| -rw-r--r-- | src/libstd/comm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/comm/mod.rs b/src/libstd/comm/mod.rs index 3487a92d849..6fc0cb71c5c 100644 --- a/src/libstd/comm/mod.rs +++ b/src/libstd/comm/mod.rs @@ -61,7 +61,7 @@ //! let (port, chan) = Chan::new(); //! spawn(proc() { //! chan.send(10); -//! }) +//! }); //! assert_eq!(port.recv(), 10); //! //! // Create a shared channel which can be sent along from many tasks |
