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
so because of how SDKBody, works, default would be counter intuitive in one place, where we swap the body for taken() to record that the body ownership was moved elsewhere.
If SdkBody implemented Default, then you could use mem::take which would produce unexpected results.
Implement the
Default
trait for theSdkBody
struct, preferably by having it callSdkBody::empty
The text was updated successfully, but these errors were encountered: