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
Hi, I'm closing this issue just to clean up the items that already exist. If you think this issue makes sense to stay open, please create a new issue with updated information and mention this one.
As far as I can see, all the use-cases listed in https://doc.rust-lang.org/rust-by-example/scope/borrow/ref.html can avoid using
ref
when the "match ergonomics" feature from rust-lang/rfcs#2005 is available.It would be good to mention that and to clarify when/if the "ref pattern" is still useful (I couldn't find the answer to that quickly).
The text was updated successfully, but these errors were encountered: