File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: b8ef9fd9c9f642ce7b8aed82782a1ed745d08d64
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: b8601a3d8b91ad3b653d143307611f2f5c75617e
5
- refs/heads/try: 848f7b734ec88964879f5a3051b940d48469ce2e
5
+ refs/heads/try: 113596655aede43576c3107b62ba98ecaac5ebae
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -45,8 +45,9 @@ impl<T: Clone> Clone for ~T {
45
45
fn clone ( & self ) -> ~T { ~( * * self ) . clone ( ) }
46
46
47
47
/// Perform copy-assignment from `source` by reusing the existing allocation.
48
+ #[ inline]
48
49
fn clone_from ( & mut self , source : & ~T ) {
49
- * * self = ( * * source) . clone ( )
50
+ ( * * self ) . clone_from ( & ( * * source) ) ;
50
51
}
51
52
}
52
53
You can’t perform that action at this time.
0 commit comments