Skip to content

Commit b987fd7

Browse files
committed
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.
1 parent 547a6ff commit b987fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/clean/inline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ fn merge_attrs(
325325
}
326326
}
327327

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

0 commit comments

Comments
 (0)