]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #41390 - scottmcm:toowned-clone-into, r=alexcrichton
authorCorey Farwell <coreyf@rwell.org>
Thu, 20 Apr 2017 05:39:56 +0000 (01:39 -0400)
committerGitHub <noreply@github.com>
Thu, 20 Apr 2017 05:39:56 +0000 (01:39 -0400)
Override ToOwned::clone_into for Path and OsStr

The only non-overridden one remaining is the CStr impl, which cannot
be optimized as doing so would break CString's second invariant.

Follow-up to 7ec27ae (PR #41009).

r? @alexcrichton

1  2 
src/libstd/path.rs

Simple merge