]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #39904 - Stebalien:cleanup-string-split-off, r=frewsxcv
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 18 Feb 2017 17:10:14 +0000 (18:10 +0100)
committerGitHub <noreply@github.com>
Sat, 18 Feb 2017 17:10:14 +0000 (18:10 +0100)
commita7e2227bdd095d5d3b44db5462358c3555bb1323
tree586ea9b87e3276acc78e506995f254d02cbfa9dc
parent33d13465885580342aca5c82477d0933806ec479
parenteec9e988e18ff33a60dc7a9056bf2d4a35fd2a20
Rollup merge of #39904 - Stebalien:cleanup-string-split-off, 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`.