Skip to content

Conversation

@FelixNumworks
Copy link
Contributor

Following #25257

The main change is that there was an inconsistency in the enum values between the three examples

Copilot AI review requested due to automatic review settings January 2, 2026 09:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes documentation inconsistencies and improves grammar in the enum bindings section. The main issue was that the ObjectEnum example incorrectly showed enum values as 1 and 2, when C++ enums default to 0-indexed values (0 and 1), which was inconsistent with the other enum type examples.

  • Adds missing enum class declaration for better context
  • Corrects enum values from 1,2 to 0,1 to match C++ default indexing
  • Improves grammar by replacing "Whatever" with "Regardless of"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sbc100 sbc100 changed the title fix typos and grammar in enum docs Fix typos and grammar in enum docs. NFC Jan 2, 2026
@sbc100 sbc100 requested a review from brendandahl January 2, 2026 10: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.

1 participant