Skip to content

Commit 52242de

Browse files
brsonalexcrichton
authored andcommitted
---
yaml --- r: 121727 b: refs/heads/try c: adbd5d7 h: refs/heads/master i: 121725: 43c0c47 121723: 979e8c2 121719: 914e768 121711: 1e2105f 121695: 370f24e 121663: b772b2d 121599: d6e3c63 v: v3
1 parent 18b6e29 commit 52242de

File tree

9 files changed

+15
-1
lines changed

9 files changed

+15
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 8fe47bc3bb34d7a1ce7bbd2c6fc5ea7a6dbf57a4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: bab614f5fa725d248afc5f0530c835f37998ce8f
5-
refs/heads/try: 1ea2efece148d3ff4b4739983a14603f1d80a02b
5+
refs/heads/try: adbd5d7a421e50b1ff4c1d8f1f43a9fd5fb977a3
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/liballoc/arc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ impl<T: Share + Send> Arc<T> {
110110
}
111111
}
112112

113+
#[unstable]
113114
impl<T: Share + Send> Clone for Arc<T> {
114115
/// Duplicate an atomically reference counted wrapper.
115116
///
@@ -236,6 +237,7 @@ impl<T: Share + Send> Weak<T> {
236237
}
237238
}
238239

240+
#[unstable]
239241
impl<T: Share + Send> Clone for Weak<T> {
240242
#[inline]
241243
fn clone(&self) -> Weak<T> {

branches/try/src/liballoc/owned.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ impl<T: Default> Default for Box<T> {
4242
fn default() -> Box<T> { box Default::default() }
4343
}
4444

45+
#[unstable]
4546
impl<T: Clone> Clone for Box<T> {
4647
/// Return a copy of the owned box.
4748
#[inline]

branches/try/src/liballoc/rc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ impl<T> Drop for Rc<T> {
143143
}
144144
}
145145

146+
#[unstable]
146147
impl<T> Clone for Rc<T> {
147148
#[inline]
148149
fn clone(&self) -> Rc<T> {
@@ -224,6 +225,7 @@ impl<T> Drop for Weak<T> {
224225
}
225226
}
226227

228+
#[unstable]
227229
impl<T> Clone for Weak<T> {
228230
#[inline]
229231
fn clone(&self) -> Weak<T> {

branches/try/src/libcollections/vec.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ impl<T: Clone> Vec<T> {
316316
}
317317
}
318318

319+
#[unstable]
319320
impl<T:Clone> Clone for Vec<T> {
320321
fn clone(&self) -> Vec<T> {
321322
let len = self.len;

branches/try/src/libcore/cell.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ impl<T:Copy> Cell<T> {
192192
}
193193
}
194194

195+
#[unstable]
195196
impl<T:Copy> Clone for Cell<T> {
196197
fn clone(&self) -> Cell<T> {
197198
Cell::new(self.get())
@@ -298,6 +299,7 @@ impl<T> RefCell<T> {
298299
}
299300
}
300301

302+
#[unstable]
301303
impl<T: Clone> Clone for RefCell<T> {
302304
fn clone(&self) -> RefCell<T> {
303305
RefCell::new(self.borrow().clone())

branches/try/src/libcore/clone.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ the `clone` method.
2121
2222
*/
2323

24+
#![unstable]
25+
2426
/// A common trait for cloning an object.
2527
pub trait Clone {
2628
/// Returns a copy of the value. The contents of owned pointers
@@ -34,6 +36,7 @@ pub trait Clone {
3436
/// but can be overridden to reuse the resources of `a` to avoid unnecessary
3537
/// allocations.
3638
#[inline(always)]
39+
#[experimental = "this function is mostly unused"]
3740
fn clone_from(&mut self, source: &Self) {
3841
*self = source.clone()
3942
}
@@ -88,6 +91,7 @@ clone_impl!(char)
8891

8992
macro_rules! extern_fn_clone(
9093
($($A:ident),*) => (
94+
#[experimental = "this may not be sufficient for fns with region parameters"]
9195
impl<$($A,)* ReturnType> Clone for extern "Rust" fn($($A),*) -> ReturnType {
9296
/// Return a copy of a function pointer
9397
#[inline]

branches/try/src/libcore/tuple.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ macro_rules! tuple_impls {
104104
)+
105105
}
106106

107+
#[unstable]
107108
impl<$($T:Clone),+> Clone for ($($T,)+) {
108109
fn clone(&self) -> ($($T,)+) {
109110
($(self.$refN().clone(),)+)

branches/try/src/libstd/gc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pub struct Gc<T> {
3737
marker: marker::NoSend,
3838
}
3939

40+
#[unstable]
4041
impl<T> Clone for Gc<T> {
4142
/// Clone the pointer only
4243
#[inline]

0 commit comments

Comments
 (0)