-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[SE-0263] Add test, rename API, update docs #30180
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
Conversation
benrimmington
commented
Mar 3, 2020
- Add test for public API
- Rename internal API (by adding leading underscore)
- Update documentation (example code and parameters)
Cc: @Catfish-Man, @milseman |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, but want @Catfish-Man 's thoughts on testing coverage and @natecook1000 's thoughts on documentation conventions.
stdlib/public/core/String.swift
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, this seems like it will be a pattern we follow when we introduce new, availability-guarded public functionality that we also want to use internally.
@natecook1000 I've used |
@milseman I've tested the code sample for better coverage. (81e5271b57399aa3e5d7f78308fcd48c888a9a50) |
Co-Authored-By: Nate Cook <natecook@apple.com>
81e5271
to
b11856a
Compare
@swift-ci please test |
Build failed |
Build failed |
All checks have passed! |