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, at least the Request.form() API borrows Request as mutable. Does it need to? Because it limits the other things one can do with Request as long as the mutable borrow is live. Many std APIs provide getter() and getter_mut() to avoid this kind of a problem.
The text was updated successfully, but these errors were encountered:
At the moment, at least the
Request.form()
API borrowsRequest
as mutable. Does it need to? Because it limits the other things one can do withRequest
as long as the mutable borrow is live. Manystd
APIs providegetter()
andgetter_mut()
to avoid this kind of a problem.The text was updated successfully, but these errors were encountered: