News for hackers. Stuff that matters.
Re:Announcing Tokio 0.1 by yammajr on Wednesday January 11, 2017 @12:57PM (#13375888)
This code does not handle the situation - the program will crash.

TcpListener::bind(&addr, &handle).unwrap()

Rather than raising exceptions, the paradigm in Rust is to return a Response item, which has an Ok and an Err subtype. unwrap() here assumes that the response is Ok and just gives that back the data returned, or crashes if its an error.

Re:Announcing Tokio 0.1 by eridius on Wednesday January 11, 2017 @01:31PM (#13376220)
Nitpick: The program will print an error and abort. It won't crash. It's a "clean" shutdown.
Re:Announcing Tokio 0.1 by steveklabnik on Wednesday January 11, 2017 @01:33PM (#13376236)
Niptick on your nitpick: it will call the panic hook, then call into the panic runtime, which may unwind the stack or abort.

> It won't crash. It's a "clean" shutdown.

:+1: