Skip to content

Commit

Permalink
Add mising information regarding cargo doc
Browse files Browse the repository at this point in the history
It seems that the `--document-private-items` flag is automatically set when documenting a binary target.
  • Loading branch information
KubaP committed Jun 9, 2021
1 parent 46ba901 commit 6128233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/src/commands/cargo-doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ option.</dd>


<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>
<dd class="option-desc">Include non-public items in the documentation.</dd>
<dd class="option-desc">Include non-public items in the documentation. This will be enabled by default if documenting a binary target.</dd>


</dl>
Expand Down

0 comments on commit 6128233

Please sign in to comment.