Skip to content
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

Docs: Add note about graphemes in String#reverse #13536

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

noraj
Copy link
Contributor

@noraj noraj commented May 31, 2023

Type: documentation 📖

State that String#reverse works on Unicode graphemes (and not codepoints) so combining characters are preserved.

src/string.cr Outdated Show resolved Hide resolved
puts is implicit

Co-authored-by: Quinton Miller <nicetas.c@gmail.com>
@straight-shoota straight-shoota changed the title String#reverse: note about unicode graphemes Docs: Add note about grapheme in String#reverse Jun 5, 2023
@straight-shoota straight-shoota changed the title Docs: Add note about grapheme in String#reverse Docs: Add note about graphemes in String#reverse Jun 5, 2023
@straight-shoota straight-shoota added this to the 1.9.0 milestone Jun 6, 2023
@straight-shoota straight-shoota merged commit 71a3536 into crystal-lang:master Jun 14, 2023
@noraj noraj deleted the patch-1 branch June 14, 2023 13:13
Blacksmoke16 pushed a commit to Blacksmoke16/crystal that referenced this pull request Dec 11, 2023
Co-authored-by: Quinton Miller <nicetas.c@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants