Skip to content

doc: miscellaneous improvements to std::path::Path examples #25666

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

Merged
merged 2 commits into from
May 24, 2015
Merged

doc: miscellaneous improvements to std::path::Path examples #25666

merged 2 commits into from
May 24, 2015

Conversation

tshepang
Copy link
Member

No description provided.

@rust-highfive
Copy link
Contributor

r? @brson

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

@brson
Copy link
Contributor

brson commented May 21, 2015

r? @steveklabnik

@rust-highfive rust-highfive assigned steveklabnik and unassigned brson May 21, 2015
/// let path = Path::new("hello_world.rs");
/// let filename = "hello_world.rs";
/// let path = Path::new("foo.txt");
/// let os_str = std::ffi::OsStr::new("foo.txt");
Copy link
Member

Choose a reason for hiding this comment

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

This is more idiomatically use std::ffi::OsStr; OsStr::new

@steveklabnik
Copy link
Member

r=me after a nit

@tshepang
Copy link
Member Author

r? @steveklabnik

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented May 21, 2015

📌 Commit 5263d62 has been approved by steveklabnik

@tshepang
Copy link
Member Author

\0/

Manishearth added a commit to Manishearth/rust that referenced this pull request May 22, 2015
oli-obk pushed a commit to oli-obk/rust that referenced this pull request May 23, 2015
oli-obk pushed a commit to oli-obk/rust that referenced this pull request May 23, 2015
@steveklabnik
Copy link
Member

@bors: r-

@steveklabnik
Copy link
Member

#25734 (comment)

@tshepang
Copy link
Member Author

fixed

@steveklabnik
Copy link
Member

@bors: r+ rollup

@bors
Copy link
Collaborator

bors commented May 23, 2015

📌 Commit 462829c has been approved by steveklabnik

@steveklabnik
Copy link
Member

Thanks :)

@bors
Copy link
Collaborator

bors commented May 23, 2015

⌛ Testing commit 462829c with merge 0c2642a...

@bors bors merged commit 462829c into rust-lang:master May 24, 2015
@tshepang tshepang deleted the better-path-docs branch May 24, 2015 07:02
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.

5 participants