diff --git a/src/testing/doc_testing.md b/src/testing/doc_testing.md index cdd32cd01f..2fac440f92 100644 --- a/src/testing/doc_testing.md +++ b/src/testing/doc_testing.md @@ -81,7 +81,7 @@ and `unwrap` it in hidden `main`. Sounds complicated? Here's an example: /// Using hidden `try_main` in doc tests. /// /// ``` -/// # // hidden lines start with `#` symbol, but they're still compileable! +/// # // hidden lines start with `#` symbol, but they're still compilable! /// # fn try_main() -> Result<(), String> { // line that wraps the body shown in doc /// let res = try::try_div(10, 2)?; /// # Ok(()) // returning from try_main