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
Take &mut ZendObject from cache instead of casting &T to &mut T
Rust deny-by-default lint flags the &T -> &mut T cast as UB even when
the borrow is unused. Make the cache lookup borrow_mut up front and
hand zval_from_object_addref a real &mut reference into the boxed
entry. Same semantics, no UB lint.
0 commit comments