Skip to content

Commit 6128233

Browse files
committed
Add mising information regarding cargo doc
It seems that the `--document-private-items` flag is automatically set when documenting a binary target.
1 parent 46ba901 commit 6128233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/commands/cargo-doc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ option.</dd>
3232

3333

3434
<dt class="option-term" id="option-cargo-doc---document-private-items"><a class="option-anchor" href="#option-cargo-doc---document-private-items"></a><code>--document-private-items</code></dt>
35-
<dd class="option-desc">Include non-public items in the documentation.</dd>
35+
<dd class="option-desc">Include non-public items in the documentation. This will be enabled by default if documenting a binary target.</dd>
3636

3737

3838
</dl>

0 commit comments

Comments
 (0)