File tree Expand file tree Collapse file tree 3 files changed +3
-16
lines changed
branches/dist-snap/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 @@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
9
refs/heads/incoming: b50030718cf28f2a5a81857a26b57442734fe854
10
- refs/heads/dist-snap: c75c11a06108430b658f52e8e491c3fc208aeabd
10
+ refs/heads/dist-snap: 5148e2f78b4d280fed666117415c1d6c3fb4c2a2
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
13
13
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
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