Commit bb46a20
authored
Rollup merge of rust-lang#145356 - GuillaumeGomez:doctest-escaped, r=fmease
Add another example for escaped `#` character in doctest in rustdoc book
Fixes rust-lang#118027.
We don't plan to add a way to not escape the first `#`, so at least we add a more complete example in the rustdoc book with a macro making use of that.File tree
1 file changed
+14
-0
lines changed- src/doc/rustdoc/src/write-documentation
1 file changed
+14
-0
lines changedLines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
194 | 208 | | |
195 | 209 | | |
196 | 210 | | |
| |||
0 commit comments