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

Fixup String::split_off documentation #39904

Merged
merged 1 commit into from
Feb 18, 2017

Conversation

Stebalien
Copy link
Contributor

  1. Clarify that String::split_off returns one string and modifies self in-place. The documentation implied that it returns two new strings.

  2. Make the documentation mirror Vec::split_off.

1. Clarify that `String::split_off` returns one string and modifies self
   in-place. The documentation implied that it returns two new strings.

2. Make the documentation mirror `Vec::split_off`.
@rust-highfive
Copy link
Collaborator

r? @sfackler

(rust_highfive has picked a reviewer for you, use r? to override)

@frewsxcv
Copy link
Member

Looks great, thanks! @bors r+ rollup

@bors
Copy link
Contributor

bors commented Feb 17, 2017

📌 Commit eec9e98 has been approved by frewsxcv

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Feb 18, 2017
… r=frewsxcv

Fixup String::split_off documentation

1. Clarify that `String::split_off` returns one string and modifies self in-place. The documentation implied that it returns two new strings.

2. Make the documentation mirror `Vec::split_off`.
bors added a commit that referenced this pull request Feb 18, 2017
Rollup of 5 pull requests

- Successful merges: #39847, #39862, #39898, #39904, #39928
- Failed merges:
@bors bors merged commit eec9e98 into rust-lang:master Feb 18, 2017
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.

5 participants