File tree Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Expand file tree Collapse file tree 3 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 155
155
- [ io_error_internals] ( library-features/io-error-internals.md )
156
156
- [ io] ( library-features/io.md )
157
157
- [ ip] ( library-features/ip.md )
158
- - [ is_unique] ( library-features/is-unique.md )
159
158
- [ iter_rfind] ( library-features/iter-rfind.md )
160
159
- [ libstd_io_internals] ( library-features/libstd-io-internals.md )
161
160
- [ libstd_sys_internals] ( library-features/libstd-sys-internals.md )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -488,11 +488,7 @@ impl<T: ?Sized> Rc<T> {
488
488
///
489
489
/// [weak]: struct.Weak.html
490
490
#[ inline]
491
- #[ unstable( feature = "is_unique" , reason = "uniqueness has unclear meaning" ,
492
- issue = "28356" ) ]
493
- #[ rustc_deprecated( since = "1.15.0" ,
494
- reason = "too niche; use `strong_count` and `weak_count` instead" ) ]
495
- pub fn is_unique ( this : & Self ) -> bool {
491
+ fn is_unique ( this : & Self ) -> bool {
496
492
Rc :: weak_count ( this) == 0 && Rc :: strong_count ( this) == 1
497
493
}
498
494
You can’t perform that action at this time.
0 commit comments