You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to convert OwningRef<&O, T> to OwningRef<O, T> when O: CloneStableAddress. Example:
impl<O,T>OwningRef<&O,T>whereO:CloneStableAddress,{pubfnclone_owner(&self) -> OwningRef<O,T>{// SAFETY: safe because the owner implements CloneStableAddressunsafe{self.map_owner(Clone::clone)}}}
The text was updated successfully, but these errors were encountered:
It would be nice to be able to convert
OwningRef<&O, T>
toOwningRef<O, T>
whenO: CloneStableAddress
. Example:The text was updated successfully, but these errors were encountered: