Skip to content

[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

Merged

Conversation

benrimmington
Copy link
Contributor

  • Update the documentation (and tests) for null-terminated static strings.

  • The isASCII API has been tested (since Swift 1.1) for both representations.
    4f38403

@benrimmington benrimmington force-pushed the static-string-documentation branch 5 times, most recently from 4629e8e to bd7b72f Compare March 2, 2020 13:55
@benrimmington
Copy link
Contributor Author

Cc: @natecook1000

Copy link
Member

@natecook1000 natecook1000 left a 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.

@benrimmington benrimmington force-pushed the static-string-documentation branch from 10018e3 to f5fe8e3 Compare March 4, 2020 00:17
Copy link
Member

@natecook1000 natecook1000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@natecook1000
Copy link
Member

@swift-ci Please smoke test

@benrimmington
Copy link
Contributor Author

@natecook1000 Thanks for reviewing this. Please merge if possible.

@benrimmington
Copy link
Contributor Author

@natecook1000 Does anyone else need to review this?

@natecook1000
Copy link
Member

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit e5110d7 into swiftlang:master Mar 27, 2020
@benrimmington benrimmington deleted the static-string-documentation branch March 28, 2020 13:01
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