Skip to content

[agent] Mark enums non-exhaustive and return iterators#296

Merged
tlepoint merged 1 commit into
mainfrom
codex/introduce-non_exhaustive-on-public-enums
Aug 24, 2025
Merged

[agent] Mark enums non-exhaustive and return iterators#296
tlepoint merged 1 commit into
mainfrom
codex/introduce-non_exhaustive-on-public-enums

Conversation

@tlepoint

Copy link
Copy Markdown
Owner

Summary

  • annotate public enums with #[non_exhaustive] for future-proofing
  • avoid Vec allocations by returning iterators for default parameters and context chains
  • adjust tests and benchmarks to new iterator APIs

Testing

  • cargo +nightly fmt --all
  • cargo clippy --all-targets -- -D warnings
  • cargo test

https://chatgpt.com/codex/tasks/task_e_68ab8465018c8323a282477ce91603a2

@tlepoint tlepoint merged commit b1eae44 into main Aug 24, 2025
6 checks passed
@tlepoint tlepoint deleted the codex/introduce-non_exhaustive-on-public-enums branch August 24, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant