Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, doc tests are part of rustdoc and they essentially strip out the comments and generate test functions using libtest. I'm not very familiar with the internals, but they're here: https://github.com/rust-lang/rust/blob/master/src/librustdoc...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: