Skip to content

Conversation

@rswanson
Copy link
Member

Removed '--examples' flag from cargo doc commands.

Removed '--examples' flag from cargo doc commands.
Removed the '-D warnings' flag from Clippy checks in the workflow.
@rswanson rswanson changed the title Update cargo doc commands to remove examples flag Update cargo doc commands to remove examples flag, remove -D warnings Jan 27, 2026
env:
CARGO_NET_GIT_FETCH_WITH_CLI: true
run: cargo clippy --all-targets --all-features --workspace --locked --profile ${{ inputs.rust-profile }} -- -D warnings
run: cargo clippy --all-targets --all-features --workspace --locked --profile ${{ inputs.rust-profile }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd think we want to keep -- -D warnings here and below so that CI fails if clippy emits warnings.

Keep clippy consistent with docs job which uses RUSTDOCFLAGS: -D warnings.
Also fixes a stray double space.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@prestwich
Copy link
Member

Restored -D warnings to clippy commands for consistency with the docs job (which uses RUSTDOCFLAGS: -D warnings). Also fixed a stray double space.

@prestwich prestwich requested a review from Fraser999 February 2, 2026 18:38
Copy link
Member Author

rswanson commented Feb 2, 2026

Merge activity

  • Feb 2, 6:43 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 2, 6:43 PM UTC: @rswanson merged this pull request with Graphite.

@rswanson rswanson merged commit 5a26af7 into main Feb 2, 2026
@rswanson rswanson deleted the rswanson-patch-1 branch February 2, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants