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

Improve docs for String#rindex! #15132

Merged
merged 5 commits into from
Oct 31, 2024

Conversation

BigBoyBarney
Copy link
Contributor

rindex! is currently copying the rindex example, which explicitly states that it returns nil.
image

@Blacksmoke16 Blacksmoke16 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. kind:docs topic:stdlib:text labels Oct 28, 2024
src/string.cr Outdated Show resolved Hide resolved
src/string.cr Outdated Show resolved Hide resolved
@straight-shoota straight-shoota removed the kind:bug A bug in the code. Does not apply to documentation, specs, etc. label Oct 29, 2024
@straight-shoota straight-shoota added this to the 1.15.0 milestone Oct 30, 2024
@straight-shoota straight-shoota changed the title Update rindex! to a matching example Improve docs for String#rindex! Oct 31, 2024
@straight-shoota straight-shoota merged commit 8635bce into crystal-lang:master Oct 31, 2024
69 checks passed
CTC97 pushed a commit to CTC97/crystal that referenced this pull request Nov 9, 2024
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