]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #24215 - alexcrichton:stabilize-clone-from, r=aturon
authorManish Goregaokar <manishsmail@gmail.com>
Thu, 9 Apr 2015 10:24:36 +0000 (15:54 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Thu, 9 Apr 2015 18:54:44 +0000 (00:24 +0530)
commitcdfbb11f680836d9db7f3062827c75470c5588c3
treeccd0c97f0658854946f5cb66c879e922eee2c214
parent5daee19eca622030c598042d9615df17d4ad035f
parent6b32072c0c958949a4b6946bb7adb29241804454
Rollup merge of #24215 - alexcrichton:stabilize-clone-from, r=aturon

 This method hasn't really changed since is inception, and it can often be a
nice performance win for some situations. This method also imposes no burden on
implementors or users of `Clone` as it's just a default method on the side.
src/libcore/clone.rs