File tree Expand file tree Collapse file tree 3 files changed +3
-16
lines changed
branches/snap-stage3/src/libstd Expand file tree Collapse file tree 3 files changed +3
-16
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: c75c11a06108430b658f52e8e491c3fc208aeabd
4
+ refs/heads/snap-stage3: 5148e2f78b4d280fed666117415c1d6c3fb4c2a2
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ clone_impl!(char)
90
90
/// managed boxes which would otherwise not be copied.
91
91
pub trait DeepClone {
92
92
/// Return a deep copy of the value. Unlike `Clone`, the contents of shared pointer types
93
- /// *are* copied.
93
+ /// *are* copied. Note that this is currently unimplemented for managed boxes, as
94
+ /// it would need to handle cycles, but it is implemented for other smart-pointer types.
94
95
fn deep_clone ( & self ) -> Self ;
95
96
}
96
97
Original file line number Diff line number Diff line change @@ -52,20 +52,6 @@ pub mod rustrt {
52
52
}
53
53
}
54
54
55
- /// Compares contents of two pointers using the default method.
56
- /// Equivalent to `*x1 == *x2`. Useful for hashtables.
57
- pub fn shape_eq < T : Eq > ( x1 : & T , x2 : & T ) -> bool {
58
- * x1 == * x2
59
- }
60
-
61
- pub fn shape_lt < T : Ord > ( x1 : & T , x2 : & T ) -> bool {
62
- * x1 < * x2
63
- }
64
-
65
- pub fn shape_le < T : Ord > ( x1 : & T , x2 : & T ) -> bool {
66
- * x1 <= * x2
67
- }
68
-
69
55
/**
70
56
* Returns a pointer to a type descriptor.
71
57
*
You can’t perform that action at this time.
0 commit comments