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 https://github.com/rust-lang/rfcs/pull/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).