]> git.lizzy.rs Git - rust.git/commit
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)
commitd983256f36bb31149bc6af9b48f4370678a5cae2
treea1ae595bb4030d3c1599907c0f59a8228c2ef3fd
parentcf11d3c66a18fb6a9e5e00ade6af0f1a0255c3a0
parent3b4d34d4faa10336847335e68417f49eb8882693
Rollup merge of #41376 - mbrubeck:docs, r=frewsxcv

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