Fix docs for inline::build_impl

Based on looking at the source code, it looks like the `did` needs to be
for an impl, not functions in an impl.
This commit is contained in:
Noah Lev 2021-10-21 19:54:14 -07:00
parent 547a6ffee0
commit b987fd78c2

View File

@ -325,7 +325,7 @@ fn merge_attrs(
}
}
/// Builds a specific implementation of a type. The `did` could be a type method or trait method.
/// Inline an `impl`, inherent or of a trait. The `did` must be for an `impl`.
crate fn build_impl(
cx: &mut DocContext<'_>,
parent_module: impl Into<Option<DefId>>,