]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #41376 - mbrubeck:docs, r=frewsxcv
authorCorey Farwell <coreyf@rwell.org>
Fri, 21 Apr 2017 12:40:34 +0000 (08:40 -0400)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2017 12:40:34 +0000 (08:40 -0400)
Expanded docs and examples for PathBuf::file_name and friends

This addresses some common surprises when `PathBuf::set_file_name` is called on the path of a directory rather than a file.

r? @steveklabnik


Trivial merge