-
Notifications
You must be signed in to change notification settings - Fork 13.3k
documentation: str::split_at_mut() example wrong #32933
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
Comments
Indeed. Want to fix it? |
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 :). |
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? |
Just like @bluss said, no need to build anything. Just modify the comment in the rustc source code and open a PR. |
fix str::split_at_mut() example fix documentation issue rust-lang#32933
Fixed by #32941. |
it seem example in https://doc.rust-lang.org/std/primitive.str.html#method.split_at_mut
is duplicate of str::split_at() example
The text was updated successfully, but these errors were encountered: