-
Notifications
You must be signed in to change notification settings - Fork 72
4.14. patterns.md #86
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
Conversation
パターンはRustにおいて極めて一般的な方法です。 | ||
<!-- We use them in [variable | ||
bindings][bindings], [match statements][match], and other places, too.--> | ||
パターンは、[変数束縛][bindings]、[マッチ宣言][match]、などで使われています。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
マッチ宣言
「statement」は「文」と訳していますね。対訳表には…載ってませんでしたか。
お手数でなければstatement - 文の対訳を表に載せて頂けると嬉しいです。
これは`Some("Steve")`を出力します。内側の`name`を`a`に結びつけます。 | ||
<!-- If you use `@` with `|`, you need to make sure the name is bound in each part | ||
of the pattern: --> | ||
もし`|`で`@`を使うときは、パターンのそれぞれの部分が名前と結びついているか確認する必要があります。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[markdown]
マークアップの前後に空白をお願いします。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[対訳]
「bind」は「束縛する」と対訳されます。
ff36ee5
to
72837e7
Compare
72837e7
to
e1f9679
Compare
多数のコメントありがとうございます。 #30 の方は早速閉じました。翻訳ルールを再度確認しつつ作業します。 |
% Patterns | ||
--> | ||
<!--Patterns are quite common in Rust. --> | ||
パターンはRustにおいて極めて一般的な方法です。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
パターンは方法というよりは構文上の構成要素ですし、「極めて一般的です」「とてもありふれています」あたりの表現でいいと思います。
4d21675
to
bb67563
Compare
おつかれさまです。残りの修正点ですが、以下のような感じでお願いできないでしょうか?
それから、すみません、対訳表がコンフリクトしてしまったようなので、こちらもあわせて更新をお願いします。 |
Pattern.mdのプルリクエスト