Fix example doc comment (#124)

Fixes #123
This commit is contained in:
Carl Lerche
2018-02-08 09:09:02 -08:00
committed by GitHub
parent 4ae76132c1
commit a9da59882c
+2 -1
View File
@@ -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.
//