-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] StaticString documentation and tests #30146
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] StaticString documentation and tests #30146
Conversation
4629e8e
to
bd7b72f
Compare
Cc: @natecook1000 |
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.
Great revisions, @benrimmington! StaticString
is such an odd type. Some nits and editorial feedback below, tagging @amartini51 as well.
Co-Authored-By: Nate Cook <[email protected]>
10018e3
to
f5fe8e3
Compare
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!
@swift-ci Please smoke test |
@natecook1000 Thanks for reviewing this. Please merge if possible. |
@natecook1000 Does anyone else need to review this? |
@swift-ci Please smoke test and merge |
Update the documentation (and tests) for null-terminated static strings.
The
isASCII
API has been tested (since Swift 1.1) for both representations.4f38403