rustdoc: add the ability to run tests with --test.
This adds the `test_harness` directive that runs a code block using the test runner, to allow for `#[test]` items to be demonstrated and still tested (currently they are just stripped and not even compiled, let alone run).
Showing
想要评论请 注册 或 登录