Skip to content

Commit f7211ca

Browse files
committed
---
yaml --- r: 62987 b: refs/heads/snap-stage3 c: 5148e2f h: refs/heads/master i: 62985: 09afa14 62983: dc74871 v: v3
1 parent ceec73d commit f7211ca

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: c75c11a06108430b658f52e8e491c3fc208aeabd
4+
refs/heads/snap-stage3: 5148e2f78b4d280fed666117415c1d6c3fb4c2a2
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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/snap-stage3/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)