File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
9898
9999 let obj : Id <NSObject > = unsafe { msg_send_id! [NSObject :: class (), new ] };
100100 ```
101+ * ** BREAKING** : Removed ` impl<T> TryFrom<WeakId<T>> for Id<T> ` impl since it
102+ did not have a proper error type, making it less useful than just using
103+ ` WeakId::load ` .
101104
102105
103106## 0.3.0-beta.5 - 2023-02-07
Original file line number Diff line number Diff line change @@ -186,13 +186,6 @@ impl<T: IsIdCloneable> From<Id<T>> for WeakId<T> {
186186 }
187187}
188188
189- impl < T : IsRetainable > TryFrom < WeakId < T > > for Id < T > {
190- type Error = ( ) ;
191- fn try_from ( weak : WeakId < T > ) -> Result < Self , ( ) > {
192- weak. load ( ) . ok_or ( ( ) )
193- }
194- }
195-
196189#[ cfg( test) ]
197190mod tests {
198191 use core:: mem;
You can’t perform that action at this time.
0 commit comments