Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stdlib] Update InlineArray (2) #79866

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

benrimmington
Copy link
Contributor

  • Amend doc comments.
  • Add guard for empty array.
  • Add tests for initialization errors.
  • Use Self. to call static method.
  • Use _checkIndex in swapAt method.
  • Wrap overlong lines.

Follow-up to: #79800

* Amend doc comments.
* Add `guard` for empty array.
* Add tests for initialization errors.
* Use `Self.` to call static method.
* Use `_checkIndex` in `swapAt` method.
* Wrap overlong lines.
@benrimmington
Copy link
Contributor Author

@swift-ci Please smoke test

@benrimmington benrimmington marked this pull request as ready for review March 10, 2025 16:56
@benrimmington benrimmington requested a review from a team as a code owner March 10, 2025 16:56
@benrimmington
Copy link
Contributor Author

Cc: @Azoy

@benrimmington benrimmington merged commit bbe2688 into swiftlang:main Mar 18, 2025
3 checks passed
@benrimmington benrimmington deleted the inline-array-2 branch March 18, 2025 06:14
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.

2 participants