-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Clean up doc comments #14823
Merged
Merged
docs: Clean up doc comments #14823
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rustbot
added
A-build-execution
Area: anything dealing with executing the compiler
A-build-scripts
Area: build.rs scripts
A-cache-messages
Area: caching of compiler messages
A-cfg-expr
Area: Platform cfg expressions
A-cli
Area: Command-line interface, option parsing, etc.
A-cli-help
Area: built-in command-line help
A-configuration
Area: cargo config files and env vars
A-credential-provider
Area: credential provider for storing and retreiving credentials
A-dependency-resolution
Area: dependency resolution and the resolver
A-environment-variables
Area: environment variables
A-features2
Area: issues specifically related to the v2 feature resolver
A-git
Area: anything dealing with git
A-home
Area: the `home` crate
A-interacts-with-crates.io
Area: interaction with registries
A-layout
Area: target output directory layout, naming, and organization
A-manifest
Area: Cargo.toml issues
A-profiles
Area: profiles
A-rebuild-detection
Area: rebuild detection and fingerprinting
A-registries
Area: registries
A-registry-authentication
Area: registry authentication and authorization (authn authz)
A-semver
Area: semver specifications, version matching, etc.
A-testing-cargo-itself
Area: cargo's tests
A-timings
Area: timings
A-unstable
Area: nightly unstable support
A-workspaces
Area: workspaces
Command-add
Command-fix
Command-new
labels
Nov 15, 2024
rustbot
added
Command-tree
Command-update
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
labels
Nov 15, 2024
Thanks! Can you bump the version of |
This was mostly done by clippy via `clippy::doc_markdown`. I then reviewed it to fix words that shouldn't have it or where `--fix` put the backtick in the wrong location.
This was aided by `clippy::too_long_first_doc_paragraph`
Looks like Cargo.lock also needs updating. |
Thanks! @bors r+ |
@ehuss: 🔑 Insufficient privileges: Not in reviewers |
ehuss
approved these changes
Nov 15, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, wrong bot.
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Nov 16, 2024
Update cargo 15 commits in 4a2d8dc636445b276288543882e076f254b3ae95..69e595908e2c420e7f0d1be34e6c5b984c8cfb84 2024-11-09 19:10:33 +0000 to 2024-11-16 01:26:11 +0000 - refactor(fingerprint): Track the intent for each use of `UnitHash` (rust-lang/cargo#14826) - fix(toml): Update frontmatter parser for RFC 3503 (rust-lang/cargo#14792) - docs(unstable): Move -Zwarnings from stable to unstable section (rust-lang/cargo#14827) - Simplify English used in guide (rust-lang/cargo#14825) - feat(resolver): Stabilize resolver v3 (rust-lang/cargo#14754) - docs: Clean up doc comments (rust-lang/cargo#14823) - fix(remove): On error, suggest other dependencies (rust-lang/cargo#14818) - Always include Cargo.lock in published crates (rust-lang/cargo#14815) - fix(build-rs)!: Updates from an audit (rust-lang/cargo#14817) - feat(rustdoc): diplay env vars in extra verbose mode (rust-lang/cargo#14812) - Migrate build-rs to the Cargo repo (rust-lang/cargo#14786) - chore(ci): Check for clippy `correctness` (rust-lang/cargo#14796) - git: do not validate submodules of fresh checkouts (rust-lang/cargo#14605) - refactor: clone-on-write when needed for InternedString (rust-lang/cargo#14808) - fix(docs): typo in cargo-fmt.md (rust-lang/cargo#14805)
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Nov 16, 2024
Update cargo 15 commits in 4a2d8dc636445b276288543882e076f254b3ae95..69e595908e2c420e7f0d1be34e6c5b984c8cfb84 2024-11-09 19:10:33 +0000 to 2024-11-16 01:26:11 +0000 - refactor(fingerprint): Track the intent for each use of `UnitHash` (rust-lang/cargo#14826) - fix(toml): Update frontmatter parser for RFC 3503 (rust-lang/cargo#14792) - docs(unstable): Move -Zwarnings from stable to unstable section (rust-lang/cargo#14827) - Simplify English used in guide (rust-lang/cargo#14825) - feat(resolver): Stabilize resolver v3 (rust-lang/cargo#14754) - docs: Clean up doc comments (rust-lang/cargo#14823) - fix(remove): On error, suggest other dependencies (rust-lang/cargo#14818) - Always include Cargo.lock in published crates (rust-lang/cargo#14815) - fix(build-rs)!: Updates from an audit (rust-lang/cargo#14817) - feat(rustdoc): diplay env vars in extra verbose mode (rust-lang/cargo#14812) - Migrate build-rs to the Cargo repo (rust-lang/cargo#14786) - chore(ci): Check for clippy `correctness` (rust-lang/cargo#14796) - git: do not validate submodules of fresh checkouts (rust-lang/cargo#14605) - refactor: clone-on-write when needed for InternedString (rust-lang/cargo#14808) - fix(docs): typo in cargo-fmt.md (rust-lang/cargo#14805)
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Nov 17, 2024
Update cargo 15 commits in 4a2d8dc636445b276288543882e076f254b3ae95..69e595908e2c420e7f0d1be34e6c5b984c8cfb84 2024-11-09 19:10:33 +0000 to 2024-11-16 01:26:11 +0000 - refactor(fingerprint): Track the intent for each use of `UnitHash` (rust-lang/cargo#14826) - fix(toml): Update frontmatter parser for RFC 3503 (rust-lang/cargo#14792) - docs(unstable): Move -Zwarnings from stable to unstable section (rust-lang/cargo#14827) - Simplify English used in guide (rust-lang/cargo#14825) - feat(resolver): Stabilize resolver v3 (rust-lang/cargo#14754) - docs: Clean up doc comments (rust-lang/cargo#14823) - fix(remove): On error, suggest other dependencies (rust-lang/cargo#14818) - Always include Cargo.lock in published crates (rust-lang/cargo#14815) - fix(build-rs)!: Updates from an audit (rust-lang/cargo#14817) - feat(rustdoc): diplay env vars in extra verbose mode (rust-lang/cargo#14812) - Migrate build-rs to the Cargo repo (rust-lang/cargo#14786) - chore(ci): Check for clippy `correctness` (rust-lang/cargo#14796) - git: do not validate submodules of fresh checkouts (rust-lang/cargo#14605) - refactor: clone-on-write when needed for InternedString (rust-lang/cargo#14808) - fix(docs): typo in cargo-fmt.md (rust-lang/cargo#14805)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-build-execution
Area: anything dealing with executing the compiler
A-build-scripts
Area: build.rs scripts
A-cache-messages
Area: caching of compiler messages
A-cfg-expr
Area: Platform cfg expressions
A-cli
Area: Command-line interface, option parsing, etc.
A-cli-help
Area: built-in command-line help
A-configuration
Area: cargo config files and env vars
A-credential-provider
Area: credential provider for storing and retreiving credentials
A-dependency-resolution
Area: dependency resolution and the resolver
A-environment-variables
Area: environment variables
A-features2
Area: issues specifically related to the v2 feature resolver
A-git
Area: anything dealing with git
A-home
Area: the `home` crate
A-interacts-with-crates.io
Area: interaction with registries
A-layout
Area: target output directory layout, naming, and organization
A-manifest
Area: Cargo.toml issues
A-profiles
Area: profiles
A-rebuild-detection
Area: rebuild detection and fingerprinting
A-registries
Area: registries
A-registry-authentication
Area: registry authentication and authorization (authn authz)
A-semver
Area: semver specifications, version matching, etc.
A-testing-cargo-itself
Area: cargo's tests
A-timings
Area: timings
A-unstable
Area: nightly unstable support
A-workspaces
Area: workspaces
Command-add
Command-fix
Command-new
Command-tree
Command-update
S-waiting-on-review
Status: Awaiting review from the assignee but also interested parties.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR try to resolve?
I'm experimenting with API changes in Cargo and wanted to make it easier to find doc comments that need updating. I didn't see a lint to help with this but I did go ahead and apply the result of other documentation lints.
How should we test and review this PR?
I've not turned these lints on more generally
clippy::doc_markdown
has some false positives we'd need to record in our config (SemVer
andSQLite
)clippy::too_long_first_doc_paragraph
pointed out a doc comment that, at a quick glance, I didn't see what summary to provideI also didn't wanted to get this in without making a policy decision of what lints are enabled.
Additional information