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
all return Option<&mut T> where the reference has the lifetime of the Cursor instance, and not the underlying LinkedList.
I believe it should be safe in those methods to update the signatures to .. -> Option<&'a mut T>, and transmute the return value to have the appropriate lifetime. Does that sound correct?
The text was updated successfully, but these errors were encountered:
Hi,
At the moment it seems that
all return
Option<&mut T>
where the reference has the lifetime of theCursor
instance, and not the underlyingLinkedList
.I believe it should be safe in those methods to update the signatures to
.. -> Option<&'a mut T>
, and transmute the return value to have the appropriate lifetime. Does that sound correct?The text was updated successfully, but these errors were encountered: