Skip to content

Add examples + documentation for std::path - #23932

Merged
alexcrichton merged 1 commit into
rust-lang:masterfrom
steveklabnik:doc_std_path
Apr 2, 2015
Merged

Add examples + documentation for std::path#23932
alexcrichton merged 1 commit into
rust-lang:masterfrom
steveklabnik:doc_std_path

Conversation

@steveklabnik

Copy link
Copy Markdown
Contributor

No description provided.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @pcwalton

(rust_highfive has picked a reviewer for you, use r? to override)

@steveklabnik

Copy link
Copy Markdown
ContributorAuthor

r? @alexcrichton

Comment threadsrc/libstd/path.rs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: In other places you bind this to a variable. I guess we should do it here as well, for consistency with other examples.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did it for those because those return a Result<T, E>, which is must_use.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I knew there was a reason! Thanks!

@flaper87

Copy link
Copy Markdown
Contributor

tiny nit, r=me if you either think it's not worth fixing it or you fix it. 🍰

@steveklabnik

Copy link
Copy Markdown
ContributorAuthor

@bors: r=flaper87 rollup

@bors

bors commented Apr 1, 2015

Copy link
Copy Markdown
Collaborator

📌 Commit 8ded156 has been approved by flaper87

@ManishearthManishearth mentioned this pull request Apr 1, 2015
Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 1, 2015
@alexcrichton
alexcrichton merged commit 8ded156 into rust-lang:masterApr 2, 2015
Sign up for freeto 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.

6 participants

@steveklabnik@rust-highfive@flaper87@bors@alexcrichton@pcwalton