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/).
98
98
99
99
let obj : Id <NSObject > = unsafe { msg_send_id! [NSObject :: class (), new ] };
100
100
```
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 ` .
101
104
102
105
103
106
## 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> {
186
186
}
187
187
}
188
188
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
-
196
189
#[ cfg( test) ]
197
190
mod tests {
198
191
use core:: mem;
You can’t perform that action at this time.
0 commit comments