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
At the moment, calling zval.string() will attempt to convert a f64 into a string, so zval.string() != zval.str() all the time. This should be removed, and a new function added to FromZval, coerce_from_zval():
pubtraitFromZval<'a>{fnfrom_zval(zval:&'aZval) -> Option<Self>;// by default, most types won't need coercingfncoerce_from_zval(zval:&'aZval) -> Option<Self>{Self::from_zval(zval)}}
The text was updated successfully, but these errors were encountered:
At the moment, calling
zval.string()
will attempt to convert af64
into a string, sozval.string() != zval.str()
all the time. This should be removed, and a new function added toFromZval
,coerce_from_zval()
:The text was updated successfully, but these errors were encountered: