Skip to content

Commit f71b322

Browse files
authored
Rollup merge of #161410 - Urgau:fix-rustdoc-doc-scope-doc, r=GuillaumeGomez
Fix rustdoc remapping `documentation` scope documentation We have `--remap-path-scope` since #155451, the documentation is outdated.
2 parents a854bf7 + 274e97c commit f71b322

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/doc/rustdoc/src/unstable-features.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,7 @@ Defines which scopes of paths should be remapped by --remap-path-prefix.
812812
`rustdoc` (and by extension `rustc`) have a special `documentation` remapping scope, it
813813
permits remapping source paths that ends up in the generated documentation.
814814

815-
Currently the scope can only be specified from `rustc`, due to the lack of an equivalent
816-
`--remap-path-scope` flag in `rustc`.
815+
It can specified with `--remap-path-scope=documentation`.
817816

818817
## `#[doc(cfg)]` and `#[doc(auto_cfg)]`
819818

0 commit comments

Comments
 (0)