File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,9 @@ Some methodology notes about what rustdoc counts in this metric:
445
445
446
446
* Rustdoc will only count items from your crate (i.e. items re-exported from other crates don't
447
447
count).
448
- * Since trait implementations can inherit documentation from their trait, it will count trait impl
449
- blocks separately, and show totals both with and without trait impls included .
448
+ * Since trait implementations can inherit documentation from their trait, separate totals are given
449
+ both with and without trait implementations .
450
450
* Inherent impl blocks are not counted, even though their doc comments are displayed, because the
451
451
common pattern in Rust code is to write all inherent methods into the same impl block.
452
+ * By default, only public items are counted. To count private items as well, pass
453
+ ` --document-private-items ` at the same time.
You can’t perform that action at this time.
0 commit comments