Function rustdoc::test::make_test [−][src]
pub fn make_test(
s: &str,
cratename: Option<&str>,
dont_insert_main: bool,
opts: &TestOptions
) -> (String, usize)
Makes the test file. Also returns the number of lines before the code begins