Skip to content

[stdlib] Update UTF8Span documentation #83418

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
merged 7 commits into from
Aug 1, 2025

Conversation

benrimmington
Copy link
Contributor

Amend formatting of Substring.utf8Span example code.

Use DocC tables in Unicode.UTF8.ValidationError overview.

@benrimmington benrimmington marked this pull request as ready for review July 30, 2025 01:42
@benrimmington benrimmington requested a review from a team as a code owner July 30, 2025 01:42
@benrimmington benrimmington requested a review from amartini51 July 30, 2025 01:43
Copy link
Member

@amartini51 amartini51 left a comment

Choose a reason for hiding this comment

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

Looks good, with minor fixes. I marked stuff only once, and I'll let you copy/paste or find/replace.

One other phrasing to revise is "every time it is called". This needs to use contractions "it's called" but is also passive voice — who is doing the calling? If possible, rewrite to make the subject clear, like "every time you call this method".

@benrimmington
Copy link
Contributor Author

@swift-ci Please smoke test

@benrimmington benrimmington merged commit b57b836 into swiftlang:main Aug 1, 2025
3 checks passed
@benrimmington benrimmington deleted the utf8span branch August 1, 2025 14:06
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