summaryrefslogtreecommitdiffstats
path: root/examples/hello_world.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2018-02-08 09:09:02 -0800
committerGitHub <noreply@github.com>2018-02-08 09:09:02 -0800
commita9da59882c3781a8fdc8adefdf25b143aad1f372 (patch)
tree35a02ee3276b7ef9e038a4bf8d450cc6bfa4bea3 /examples/hello_world.rs
parent4ae76132c16c2cffd80373ea8c69091ab32d5b02 (diff)
Fix example doc comment (#124)
Fixes #123
Diffstat (limited to 'examples/hello_world.rs')
-rw-r--r--examples/hello_world.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/hello_world.rs b/examples/hello_world.rs
index fee06607..54a95128 100644
--- a/examples/hello_world.rs
+++ b/examples/hello_world.rs
@@ -62,7 +62,8 @@ pub fn main() {
// implementations, each providing different scheduling characteristics.
//
// The `current_thread` executor multiplexes all scheduled tasks on the
- // current thread. This means that spawned tasks must not implement `Send`.
+ // current thread. This means that spawned tasks are not required to
+ // implement `Send`.
current_thread::run(|_| {
// Now, the server task must be spawned.
//