tokio-rs / tokio-core

I/O primitives and event loop for async I/O in Rust
Apache License 2.0
640 stars 115 forks source link

Remove references to "LoopData", "lp" and improve Core::run in docs #325

Closed cpick closed 6 years ago

cpick commented 6 years ago

Remove reference to obsolete LoopData. Rename lp variable in example to core to match current naming conventions.

Try to clarify Core::runs docs to indicate that it only waits for its argument's future to complete before returning.

carllerche commented 6 years ago

Thanks!