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

Don't modify input string in place #2

Merged
merged 1 commit into from Sep 5, 2011
Merged

Don't modify input string in place #2

merged 1 commit into from Sep 5, 2011

Conversation

msaffitz
Copy link
Contributor

@msaffitz msaffitz commented Sep 5, 2011

The current implementation reverses the input string in place. This is a small fix to reverse a copy of the input string instead so that the input string is preserved for later use.

@technoweenie
Copy link
Contributor

Ah, I think I just dup that somewhere else. Hmm.

technoweenie added a commit that referenced this pull request Sep 5, 2011
Don't modify input string in place
@technoweenie technoweenie merged commit 074ea4f into github:master Sep 5, 2011
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.

None yet

2 participants