Skip to content

Commit 21d25d3

Browse files
committed
---
yaml --- r: 73711 b: refs/heads/dist-snap c: 5148e2f h: refs/heads/master i: 73709: 591abef 73707: 1882e9d 73703: dde8471 73695: a50654e v: v3
1 parent 6e09433 commit 21d25d3

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
99
refs/heads/incoming: b50030718cf28f2a5a81857a26b57442734fe854
10-
refs/heads/dist-snap: c75c11a06108430b658f52e8e491c3fc208aeabd
10+
refs/heads/dist-snap: 5148e2f78b4d280fed666117415c1d6c3fb4c2a2
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/libstd/clone.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ clone_impl!(char)
9090
/// managed boxes which would otherwise not be copied.
9191
pub trait DeepClone {
9292
/// 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.
9495
fn deep_clone(&self) -> Self;
9596
}
9697

branches/dist-snap/src/libstd/sys.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,6 @@ pub mod rustrt {
5252
}
5353
}
5454

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-
6955
/**
7056
* Returns a pointer to a type descriptor.
7157
*

0 commit comments

Comments
 (0)