Rollup merge of #27519 - JanLikar:rearrange-patterns, r=steveklabnik
- Move "Destructuring" after "Multiple patterns", because some of later sections include examples which make use of destructuring. - Move "Ignoring bindings" after "Destructoring", because the former features Result<T,E> destructuring. Some of examples in later sections use "_" and "..", so "Ignoring bindings" must be positioned before them. - Fix #27347 by moving "Ref and mut ref" before "Ranges" and "Bindings", because "Bindings" section includes a somewhat difficult example, which also makes use of "ref" and "mut ref" operators.
Showing
想要评论请 注册 或 登录