News for hackers. Stuff that matters.
Re:100 days with Rust: a series of brick walls by edflsafoiewq on Saturday March 24, 2018 @12:48PM (#16667498)
Do you know about unimplemented!()? I use #[test] functions for what I'd throw into a REPL and if it's not horrible you can keep them as actual tests later.
Re:100 days with Rust: a series of brick walls by kenhwang on Saturday March 24, 2018 @01:52PM (#16667844)
That's really nifty! Not quite was I was thinking of though, but it gave me a starting point for some research before I came across https://github.com/rust-lang/rfcs/issues/1911 which describes why unimplemented!() doesn't quite work and what I'd like instead.