Commit af9fbd7
Rollup merge of rust-lang#86141 - amorison:link-ref-in-doc-dyn-keyword, r=kennytm
Link reference in `dyn` keyword documentation
The "read more" sentence formatted "object safety" as inline code
instead of providing a link to more information. This PR adds a link
to the Reference about this matter, as well as the page regarding trait
objects.
---
We could also put these links in the very first line (instead of the link to the
Book) and in the first paragraph which mentions the "object safe" requirement.
Personally, I think it's good to keep the link to the Book up-front as it's more
accessible than the Reference.1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2259 | 2259 | | |
2260 | 2260 | | |
2261 | 2261 | | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
2262 | 2265 | | |
2263 | 2266 | | |
2264 | 2267 | | |
| |||
2267 | 2270 | | |
2268 | 2271 | | |
2269 | 2272 | | |
2270 | | - | |
2271 | | - | |
2272 | 2273 | | |
| 2274 | + | |
| 2275 | + | |
2273 | 2276 | | |
2274 | 2277 | | |
2275 | 2278 | | |
| |||
0 commit comments