Skip to content

Conversation

@calda
Copy link
Member

@calda calda commented Jul 24, 2025

For short structs under 20 lines, the organizeDeclarations style rule says:

If the type in question is a simple value type (e.g. fewer than 20 lines), it is OK to omit the // MARK:s, as it would hurt legibility.

To do this we had previously completely disabled organizeDeclarations within short structs. Instead it seems better to continue organizing the declarations like we do elsewhere for consistency, but continue omitting the MARK comments like it says to do in the style rule.

@calda calda merged commit ad689bf into master Jul 24, 2025
4 checks passed
@calda calda deleted the cal--organize-structs branch July 24, 2025 14:05
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.

3 participants