File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed
branches/try/src/liballoc Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: edeb4f1c86cbf6af8ef9874d4b3af50f721ea1b8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: 5bbaa3c9ac64cbd324240d6aa079c5d4b0e7f82e
4
+ refs/heads/try: 4c8d75fd9b4e0abf1107647a48e3578907e2e00e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -270,15 +270,13 @@ impl<T: ?Sized> Arc<T> {
270
270
/// Get the number of weak references to this value.
271
271
#[ inline]
272
272
#[ unstable( feature = "arc_counts" , reason = "not clearly useful, and racy" , issue = "27718" ) ]
273
- #[ deprecated( since = "1.4.0" , reason = "not clearly useful, and racy" ) ]
274
273
pub fn weak_count ( this : & Self ) -> usize {
275
274
this. inner ( ) . weak . load ( SeqCst ) - 1
276
275
}
277
276
278
277
/// Get the number of strong references to this value.
279
278
#[ inline]
280
279
#[ unstable( feature = "arc_counts" , reason = "not clearly useful, and racy" , issue = "27718" ) ]
281
- #[ deprecated( since = "1.4.0" , reason = "not clearly useful, and racy" ) ]
282
280
pub fn strong_count ( this : & Self ) -> usize {
283
281
this. inner ( ) . strong . load ( SeqCst )
284
282
}
Original file line number Diff line number Diff line change @@ -292,13 +292,11 @@ impl<T: ?Sized> Rc<T> {
292
292
/// Get the number of weak references to this value.
293
293
#[ inline]
294
294
#[ unstable( feature = "rc_counts" , reason = "not clearly useful" , issue = "27718" ) ]
295
- #[ deprecated( since = "1.4.0" , reason = "not clearly useful" ) ]
296
295
pub fn weak_count ( this : & Self ) -> usize { this. weak ( ) - 1 }
297
296
298
297
/// Get the number of strong references to this value.
299
298
#[ inline]
300
299
#[ unstable( feature = "rc_counts" , reason = "not clearly useful" , issue = "27718" ) ]
301
- #[ deprecated( since = "1.4.0" , reason = "not clearly useful" ) ]
302
300
pub fn strong_count ( this : & Self ) -> usize { this. strong ( ) }
303
301
304
302
/// Returns true if there are no other `Rc` or `Weak<T>` values that share
@@ -317,7 +315,6 @@ impl<T: ?Sized> Rc<T> {
317
315
/// ```
318
316
#[ inline]
319
317
#[ unstable( feature = "rc_counts" , reason = "uniqueness has unclear meaning" , issue = "27718" ) ]
320
- #[ deprecated( since = "1.4.0" , reason = "uniqueness has unclear meaning" ) ]
321
318
pub fn is_unique ( this : & Self ) -> bool {
322
319
Rc :: weak_count ( this) == 0 && Rc :: strong_count ( this) == 1
323
320
}
You can’t perform that action at this time.
0 commit comments