mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 19:43:24 +00:00
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:
parent
547a6ffee0
commit
b987fd78c2
@ -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>>,
|
||||
|
Loading…
Reference in New Issue
Block a user