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
Many structs such as SendMessage implement a fluent interface for customization. The methods mutate in place, taking &mut self and returning &mut self. This forces a mutable binding of the original:
Many structs such as
SendMessage
implement a fluent interface for customization. The methods mutate in place, taking&mut self
and returning&mut self
. This forces a mutable binding of the original:These methods should instead move
self
, and allow chaining the methods in a single expression:The text was updated successfully, but these errors were encountered: