We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5856006 commit 83ac540Copy full SHA for 83ac540
src/testing/doc_testing.md
@@ -84,7 +84,7 @@ and `unwrap` it in hidden `main`. Sounds complicated? Here's an example:
84
/// ```
85
/// # // hidden lines start with `#` symbol, but they're still compilable!
86
/// # fn try_main() -> Result<(), String> { // line that wraps the body shown in doc
87
-/// let res = try::try_div(10, 2)?;
+/// let res = doccomments::try_div(10, 2)?;
88
/// # Ok(()) // returning from try_main
89
/// # }
90
/// # fn main() { // starting main that'll unwrap()
0 commit comments