Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #117037 - csditchfield:fix_doc_writing_result_example…
…, r=notriddle rustdoc book doc example error closes #117036 This is the minimal change required to make the second what-to-include.md example valid. Another more modern solution could be considered: ``` /// Example /// ```rust /// let fortytwo = "42".parse::<u32>()?; /// println!("{} + 10 = {}", fortytwo, fortytwo+10); /// # Ok::<(), <u32 as std::str::FromStr>::Err>(()) /// ``` ```
- Loading branch information