Commit 0d14aca
authored
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 | |
|---|---|---|---|
| |||
2256 | 2256 | | |
2257 | 2257 | | |
2258 | 2258 | | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
2259 | 2262 | | |
2260 | 2263 | | |
2261 | 2264 | | |
| |||
2264 | 2267 | | |
2265 | 2268 | | |
2266 | 2269 | | |
2267 | | - | |
2268 | | - | |
2269 | 2270 | | |
| 2271 | + | |
| 2272 | + | |
2270 | 2273 | | |
2271 | 2274 | | |
2272 | 2275 | | |
| |||
0 commit comments