Skip to content

4.13. Match #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 13, 2016
Merged

4.13. Match #79

merged 4 commits into from
Feb 13, 2016

Conversation

pocket7878
Copy link
Contributor

No description provided.

@pocket7878 pocket7878 changed the title 4.13. Match [WIP] 4.13. Match Feb 10, 2016
@pocket7878
Copy link
Contributor Author

添削宜しくお願い致します @KeenS

@pocket7878 pocket7878 changed the title [WIP] 4.13. Match 4.13. Match Feb 11, 2016
<!-- matching’, which `match` is an implementation of. There’s an [entire section on -->
<!-- patterns][patterns] that covers all the patterns that are possible here. -->
`match` は一つの式とその式の値に基づく複数のブランチを引数に取ります。
一つ一つの「分岐」は `val => expression` という形式を取ります。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここは分岐の話ではなくてmatch式の構文でパターンと分岐の枝の記法の話をしてるので「分岐」は違うと思います。原文そのままに「腕」はどうでしょうか。
(もう少し言うと「分岐点」と「分岐条件」と「ジャンプ先で実行されるコード」でいうとこれは「分岐条件」+「ジャンプ先で実行されるコード」なので主に「分岐点」+「分岐条件」を指す分岐とは違う気がする、という話です)

@KeenS
Copy link
Member

KeenS commented Feb 11, 2016

@pocket7878
少しコメントしました。確認お願いします。

@pocket7878
Copy link
Contributor Author

@KeenS 添削ありがとうございます。修正いたしました

@KeenS
Copy link
Member

KeenS commented Feb 13, 2016

ありがとうございます。マージします。

KeenS added a commit that referenced this pull request Feb 13, 2016
@KeenS KeenS merged commit 04d1f66 into rust-lang-ja:master Feb 13, 2016
@tatsuya6502 tatsuya6502 modified the milestone: 1.6 Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants