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

Updated documentation to refer to "extra" module #7035

Closed
wants to merge 2 commits into from
Closed

Updated documentation to refer to "extra" module #7035

wants to merge 2 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 9, 2013

The documentation was still refering to getopts as though it was in the
std module - I've changed this to refer to extra instead.

The documentation was still refering to getopts as though it was in the
std module - I've changed this to refer to extra instead.
@ghost
Copy link
Author

ghost commented Jun 9, 2013

There are actually a couple of other things that need updating in the sample usage. Will correct the rest and resubmit

@ghost ghost closed this Jun 9, 2013
The getopts sample program now compiles and runs. Additionally I made
all of the indentation uniformly four spaces.
@ghost
Copy link
Author

ghost commented Jun 9, 2013

Alright, the sample program in the documentation compiles and runs against incoming HEAD now.

@ghost ghost reopened this Jun 9, 2013
@ghost
Copy link
Author

ghost commented Jun 10, 2013

build failure seems unrelated :-/

bors added a commit that referenced this pull request Jun 11, 2013
The documentation was still refering to getopts as though it was in the
std module - I've changed this to refer to extra instead.
@bors bors closed this Jun 11, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 8, 2021
consider mutability on useless_vec suggestions

fixes rust-lang#7035

changelog: Now the suggested by `useless_vec` considers mutability to suggest either `&[]`, as before, or `&mut []` if the used reference is mutable.
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.

1 participant