News for hackers. Stuff that matters.
Re:My Struggles with Rust by eternalban on Sunday May 07, 2017 @03:31PM (#14287131)
expect[ing_error]("could not open the file")
Re:My Struggles with Rust by rootlocus on Sunday May 07, 2017 @04:16PM (#14287385)
You're not expecting an error. On the contrary, you're expecting a value or throwing an error.
Re:My Struggles with Rust by eternalban on Tuesday May 09, 2017 @08:32AM (#14299425)
You're expecting specific errors.