Skip to content

Commit d24c8d7

Browse files
committed
---
yaml --- r: 232550 b: refs/heads/try c: 4c8d75f h: refs/heads/master v: v3
1 parent 434525d commit d24c8d7

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
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: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: 5bbaa3c9ac64cbd324240d6aa079c5d4b0e7f82e
4+
refs/heads/try: 4c8d75fd9b4e0abf1107647a48e3578907e2e00e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/liballoc/arc.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,15 +270,13 @@ impl<T: ?Sized> Arc<T> {
270270
/// Get the number of weak references to this value.
271271
#[inline]
272272
#[unstable(feature = "arc_counts", reason = "not clearly useful, and racy", issue = "27718")]
273-
#[deprecated(since = "1.4.0", reason = "not clearly useful, and racy")]
274273
pub fn weak_count(this: &Self) -> usize {
275274
this.inner().weak.load(SeqCst) - 1
276275
}
277276

278277
/// Get the number of strong references to this value.
279278
#[inline]
280279
#[unstable(feature = "arc_counts", reason = "not clearly useful, and racy", issue = "27718")]
281-
#[deprecated(since = "1.4.0", reason = "not clearly useful, and racy")]
282280
pub fn strong_count(this: &Self) -> usize {
283281
this.inner().strong.load(SeqCst)
284282
}

branches/try/src/liballoc/rc.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,13 +292,11 @@ impl<T: ?Sized> Rc<T> {
292292
/// Get the number of weak references to this value.
293293
#[inline]
294294
#[unstable(feature = "rc_counts", reason = "not clearly useful", issue = "27718")]
295-
#[deprecated(since = "1.4.0", reason = "not clearly useful")]
296295
pub fn weak_count(this: &Self) -> usize { this.weak() - 1 }
297296

298297
/// Get the number of strong references to this value.
299298
#[inline]
300299
#[unstable(feature = "rc_counts", reason = "not clearly useful", issue = "27718")]
301-
#[deprecated(since = "1.4.0", reason = "not clearly useful")]
302300
pub fn strong_count(this: &Self) -> usize { this.strong() }
303301

304302
/// Returns true if there are no other `Rc` or `Weak<T>` values that share
@@ -317,7 +315,6 @@ impl<T: ?Sized> Rc<T> {
317315
/// ```
318316
#[inline]
319317
#[unstable(feature = "rc_counts", reason = "uniqueness has unclear meaning", issue = "27718")]
320-
#[deprecated(since = "1.4.0", reason = "uniqueness has unclear meaning")]
321318
pub fn is_unique(this: &Self) -> bool {
322319
Rc::weak_count(this) == 0 && Rc::strong_count(this) == 1
323320
}

0 commit comments

Comments
 (0)