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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,8 @@ pub fn main() {
// implementations, each providing different scheduling characteristics. // implementations, each providing different scheduling characteristics.
// //
// The `current_thread` executor multiplexes all scheduled tasks on the // 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(|_| { current_thread::run(|_| {
// Now, the server task must be spawned. // Now, the server task must be spawned.
// //