-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[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
Conversation
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.
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".
Co-authored-by: Alex Martini <[email protected]>
@swift-ci Please smoke test |
Amend formatting of
Substring.utf8Span
example code.Use DocC tables in
Unicode.UTF8.ValidationError
overview.