We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ResolvedPath
hir::Path
1 parent 962e451 commit 5f744f3Copy full SHA for 5f744f3
src/librustdoc/clean/types.rs
@@ -1376,7 +1376,7 @@ crate struct PolyTrait {
1376
crate enum Type {
1377
/// A named type, which could be a trait.
1378
///
1379
- /// This is mostly Rustdoc's version of [`hir::Path`].
+ /// This is mostly Rustdoc's version of [`hir::Path`]. It has to be different because Rustdoc's [`PathSegment`] can contain cleaned generics.
1380
ResolvedPath { path: Path, did: DefId },
1381
/// A `dyn Trait` object: `dyn for<'a> Trait<'a> + Send + 'static`
1382
DynTrait(Vec<PolyTrait>, Option<Lifetime>),
0 commit comments