Skip to content

Conversation

thomasvl
Copy link
Collaborator

@thomasvl thomasvl commented May 9, 2025

  • Make things that never need to mutate explicit lets so intent is clear.
  • Simplify complete, guess this used to actually mutate, but it doesn't anymore.
  • The _NameMap is always found or init fails, so no need for it to be Optional and thus no need to force unwrap it.

- Make things that never need to mutate explicit `let`s so intent is clear.
- Simplify `complete`, guess this used to actually mutate, but it doesn't
  anymore.
- The `_NameMap` is always found or `init` fails, so no need for it to be
  `Optional` and thus no need to force unwrap it.
@thomasvl thomasvl added the semver/none No version bump required. label May 9, 2025
@thomasvl thomasvl marked this pull request as ready for review May 9, 2025 15:18
@thomasvl thomasvl requested review from allevato and tbkka May 9, 2025 15:19
@thomasvl thomasvl merged commit 187b938 into apple:main May 9, 2025
14 of 15 checks passed
@thomasvl thomasvl deleted the small_cleanups branch May 9, 2025 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants