Closed
Description
it seem example in https://doc.rust-lang.org/std/primitive.str.html#method.split_at_mut
is duplicate of str::split_at() example
it seem example in https://doc.rust-lang.org/std/primitive.str.html#method.split_at_mut
is duplicate of str::split_at() example
Activity
GuillaumeGomez commentedon Apr 13, 2016
Indeed. Want to fix it?
bungcip commentedon Apr 13, 2016
Sure, but I will need to clone & learn how to build rust from source tough. I hope my notebook is not too slow to compile it :).
bluss commentedon Apr 13, 2016
Go ahead and fix. But for this small thing I would probably not build rust locally at all. Make sure the code compiles in a simpler environment, and then let the test builders take care of it?
GuillaumeGomez commentedon Apr 13, 2016
Just like @bluss said, no need to build anything. Just modify the comment in the rustc source code and open a PR.
Rollup merge of rust-lang#32941 - bungcip:fix-doc-1, r=alexcrichton
tbu- commentedon May 30, 2016
Fixed by #32941.