Commit 300a007
committed
Fix intra-doc path resolution problem in
`alloc::slice` uses `core::slice` functions, documentation are copied
from there and the links as well without resolution. `crate::ptr...`
cannot be resolved in `alloc::slice`, but `ptr` itself is imported in
both `alloc::slice` and `core::slice`, so we used that instead.library/alloc/src/slice.rs
1 parent 6aae4a2 commit 300a007
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6427 | 6427 | | |
6428 | 6428 | | |
6429 | 6429 | | |
6430 | | - | |
6431 | | - | |
| 6430 | + | |
| 6431 | + | |
6432 | 6432 | | |
6433 | 6433 | | |
6434 | 6434 | | |
| |||
6467 | 6467 | | |
6468 | 6468 | | |
6469 | 6469 | | |
6470 | | - | |
6471 | | - | |
| 6470 | + | |
| 6471 | + | |
6472 | 6472 | | |
6473 | 6473 | | |
6474 | 6474 | | |
| |||
0 commit comments