Rustの`if let`が入った経緯とmatchとの対応関係について。 `if ... is`が入らなかったのは、assignのルールが他と異なるため

efclefcl のブックマーク 2019/01/12 18:38

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

RFC for `if let` expression by lilyball · Pull Request #160 · rust-lang/rfcs

    Start Date: (fill me in with today's date, YYYY-MM-DD) RFC PR #: (leave this empty) Rust Issue #: (leave this empty) Summary Introduce a new if let PAT = EXPR { BODY } construct. This allows for re...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう