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::as_mut_str should have a doc example #44429

Closed
frewsxcv opened this issue Sep 8, 2017 · 1 comment
Closed

String::as_mut_str should have a doc example #44429

frewsxcv opened this issue Sep 8, 2017 · 1 comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. P-low Low priority

Comments

@frewsxcv
Copy link
Member

frewsxcv commented Sep 8, 2017

https://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_mut_str

For this one, ideally the example would demonstrate mutation.

If anyone anyone wants to work on this, just mention it in a comment to prevent duplicate work. If you need any help or have any questions, don't hesitate to ping me :)

@frewsxcv frewsxcv added E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. P-low Low priority A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools labels Sep 8, 2017
@tommyip
Copy link
Contributor

tommyip commented Sep 9, 2017

I will work on this.

tommyip added a commit to tommyip/rust that referenced this issue Sep 10, 2017
frewsxcv added a commit to frewsxcv/rust that referenced this issue Sep 11, 2017
…ewsxcv

Add doc example to String::as_mut_str

Fixes rust-lang#44429.
frewsxcv added a commit to frewsxcv/rust that referenced this issue Sep 11, 2017
…ewsxcv

Add doc example to String::as_mut_str

Fixes rust-lang#44429.
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Sep 13, 2017
…ewsxcv

Add doc example to String::as_mut_str

Fixes rust-lang#44429.
frewsxcv added a commit to frewsxcv/rust that referenced this issue Sep 14, 2017
…ewsxcv

Add doc example to String::as_mut_str

Fixes rust-lang#44429.
frewsxcv added a commit to frewsxcv/rust that referenced this issue Sep 15, 2017
…ewsxcv

Add doc example to String::as_mut_str

Fixes rust-lang#44429.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. P-low Low priority
Projects
None yet
Development

No branches or pull requests

2 participants