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 155155 - [ io_error_internals] ( library-features/io-error-internals.md )
156156 - [ io] ( library-features/io.md )
157157 - [ ip] ( library-features/ip.md )
158- - [ is_unique] ( library-features/is-unique.md )
159158 - [ iter_rfind] ( library-features/iter-rfind.md )
160159 - [ libstd_io_internals] ( library-features/libstd-io-internals.md )
161160 - [ 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> {
488488 ///
489489 /// [weak]: struct.Weak.html
490490 #[ 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 {
496492 Rc :: weak_count ( this) == 0 && Rc :: strong_count ( this) == 1
497493 }
498494
You can’t perform that action at this time.
0 commit comments