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
I don't think "'static lifetime gets cast into a 'a lifetime" is accurate. All that's happening is that 'a is being instantiated with 'a = 'static. There is no subtyping or variance at play. The same code works if you write it with PhantomContravariantAlwaysSendSync.
The text was updated successfully, but these errors were encountered:
The example says:
I don't think "
'static
lifetime gets cast into a'a
lifetime" is accurate. All that's happening is that'a
is being instantiated with'a = 'static
. There is no subtyping or variance at play. The same code works if you write it with PhantomContravariantAlwaysSendSync.The text was updated successfully, but these errors were encountered: