Skip to content

Commit 261e54a

Browse files
KSXGitHubclaude
andauthored
docs(ai): remove references to deleted CONTRIBUTING.md sections (#359)
Remove `#[non_exhaustive]` from custom errors bullet and remove `#![deny(warnings)]` bullet, matching the removals in PR #358. https://claude.ai/code/session_012rU7VAeZADzFWewCEUMMyG Co-authored-by: Claude <noreply@anthropic.com>
1 parent 362e4f2 commit 261e54a

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ Read and follow the CONTRIBUTING.md file in this repository for all code style c
1111
- Use descriptive variable and closure parameter names by default — single letters are only allowed in: conventional names (`n` for count, `f` for formatter), comparison closures (`|a, b|`), trivial single-expression closures, fold accumulators, index variables (`i`/`j`/`k` in short closures or index-based loops only), and test fixtures (identical roles only). Never use single letters in multi-line functions or closures
1212
- Prefer `where` clauses for multiple trait bounds
1313
- Derive order: std traits → comparison traits → `Hash` → derive_more → feature-gated
14-
- Custom errors: `#[derive(Debug, Display, Error)]` + `#[non_exhaustive]`
14+
- Custom errors: `#[derive(Debug, Display, Error)]`
1515
- Minimize `unwrap()` in non-test code — use proper error handling
16-
- `#![deny(warnings)]` is active — code must be warning-free
1716
- Install toolchain before running tests: `rustup toolchain install "$(< rust-toolchain)" && rustup component add --toolchain "$(< rust-toolchain)" rustfmt clippy`
1817
- If the AI agent is Claude Code, `gh` (GitHub CLI) is not installed — do not attempt to use it
1918
- Run `FMT=true LINT=true BUILD=true TEST=true DOC=true ./test.sh` to validate changes

AGENTS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ Read and follow the CONTRIBUTING.md file in this repository for all code style c
1111
- Use descriptive variable and closure parameter names by default — single letters are only allowed in: conventional names (`n` for count, `f` for formatter), comparison closures (`|a, b|`), trivial single-expression closures, fold accumulators, index variables (`i`/`j`/`k` in short closures or index-based loops only), and test fixtures (identical roles only). Never use single letters in multi-line functions or closures
1212
- Prefer `where` clauses for multiple trait bounds
1313
- Derive order: std traits → comparison traits → `Hash` → derive_more → feature-gated
14-
- Custom errors: `#[derive(Debug, Display, Error)]` + `#[non_exhaustive]`
14+
- Custom errors: `#[derive(Debug, Display, Error)]`
1515
- Minimize `unwrap()` in non-test code — use proper error handling
16-
- `#![deny(warnings)]` is active — code must be warning-free
1716
- Install toolchain before running tests: `rustup toolchain install "$(< rust-toolchain)" && rustup component add --toolchain "$(< rust-toolchain)" rustfmt clippy`
1817
- If the AI agent is Claude Code, `gh` (GitHub CLI) is not installed — do not attempt to use it
1918
- Run `FMT=true LINT=true BUILD=true TEST=true DOC=true ./test.sh` to validate changes

CLAUDE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ Read and follow the CONTRIBUTING.md file in this repository for all code style c
1111
- Use descriptive variable and closure parameter names by default — single letters are only allowed in: conventional names (`n` for count, `f` for formatter), comparison closures (`|a, b|`), trivial single-expression closures, fold accumulators, index variables (`i`/`j`/`k` in short closures or index-based loops only), and test fixtures (identical roles only). Never use single letters in multi-line functions or closures
1212
- Prefer `where` clauses for multiple trait bounds
1313
- Derive order: std traits → comparison traits → `Hash` → derive_more → feature-gated
14-
- Custom errors: `#[derive(Debug, Display, Error)]` + `#[non_exhaustive]`
14+
- Custom errors: `#[derive(Debug, Display, Error)]`
1515
- Minimize `unwrap()` in non-test code — use proper error handling
16-
- `#![deny(warnings)]` is active — code must be warning-free
1716
- Install toolchain before running tests: `rustup toolchain install "$(< rust-toolchain)" && rustup component add --toolchain "$(< rust-toolchain)" rustfmt clippy`
1817
- If the AI agent is Claude Code, `gh` (GitHub CLI) is not installed — do not attempt to use it
1918
- Run `FMT=true LINT=true BUILD=true TEST=true DOC=true ./test.sh` to validate changes

0 commit comments

Comments
 (0)