Skip to content

rustdoc man-page is out of date #9622

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
huonw opened this issue Sep 30, 2013 · 0 comments
Closed

rustdoc man-page is out of date #9622

huonw opened this issue Sep 30, 2013 · 0 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@huonw
Copy link
Member

huonw commented Sep 30, 2013

[...]
SYNOPSIS
       rustdoc [OPTIONS] CRATEFILE
[...]
COMMANDS
       --output-dir <val>
              Put documents here (default: .)

       --output-format <val>
              markdown or html (default: html)

       --output-style <val>
              doc-per-crate or doc-per-mod (default: doc-per-mod)

       --pandoc-cmd <val>
              Command for running pandoc

       -h, --help
              Print help
[...]

vs

$ rustdoc --help
rustdoc [options] [html|json] <crate>

Options:
    -L --library-path DIR
                        directory to add to crate search path
    --plugin-path DIR   directory to load plugins from
    --passes PASSES     space separated list of passes to also run, a value of
                        `list` will print available passes
    --plugins PLUGINS   space separated list of plugins to also load
    -h --help           show this help message
    --nodefaults        don't run the default passes
    -o --output PATH    where to place the output
flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 23, 2022
fix `box-default` ignoring trait objects' types

This avoids removing the turbofish when the `Box` type is a `dyn` or `impl _`.

This fixes rust-lang#9621.

---

changelog: none
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant