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

[string.insert] Typo fix for argument name #1338

Closed
wants to merge 1 commit into from

Conversation

Bekenn
Copy link
Contributor

@Bekenn Bekenn commented Jan 6, 2017

No description provided.

@jwakely jwakely changed the title Typo fix [string.insert] Typo fix Jan 6, 2017
@jwakely jwakely changed the title [string.insert] Typo fix [string.insert] Typo fix for argument name Jan 6, 2017
@jwakely
Copy link
Member

jwakely commented Jan 6, 2017

I was about to merge this, but I think it would actually be better to rename the argument from pos1 to pos because there is only one position argument, so we don't need to distinguish pos1 and pos2.

@Bekenn
Copy link
Contributor Author

Bekenn commented Jan 6, 2017

There are several other examples throughout basic_string (and basic_string_view) that also decorate parameter names in order to match what's used in the more versatile overloads, but it's not at all consistent; this was the simplest fix.

@jwakely jwakely self-assigned this Jan 6, 2017
@jwakely jwakely closed this in 3acb49d Jan 6, 2017
@Bekenn
Copy link
Contributor Author

Bekenn commented Jan 6, 2017

There are a bunch of n1s floating around, too...

@Bekenn Bekenn deleted the patch-1 branch October 15, 2023 01:32
@Bekenn Bekenn restored the patch-1 branch October 15, 2023 01:33
@Bekenn Bekenn deleted the patch-1 branch October 15, 2023 01:34
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