-
Notifications
You must be signed in to change notification settings - Fork 72
4.34. Macros #84
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
4.34. Macros #84
Conversation
添削宜しくお願い致します。 @KeenS |
<!-- or cumbersome to express that pattern as a generic function, a trait, or --> | ||
<!-- anything else within Rust’s semantics. --> | ||
このような構造は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.
現象→減少
@tatsuya6502 ありがとうございます。 |
<!-- exclamation point, e.g. `vec!`. The exclamation point is part of the invocation --> | ||
<!-- syntax and serves to distinguish a macro from an ordinary function. --> | ||
これは、新しいマクロ `vec` を定義していることを意味しています、`vec` という関数を定義するときに `fn vec` と書くのと同じです。 | ||
散文的に、非形式的にマクロ名をエクスクラメーションマーク(!) と共に記述します、例えば: `vec!` のように示します。 |
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.
この "In prose," はどういう意味でしょうね? 本来の prose は「事実に基づいて、形式張らずに言う」みたいな意味を含んでそうです(dictionary.com)。
意味自体が合っているか自信ありませんが、意訳して「非公式ですが、実際には、マクロ名をエクスクラメーションマーク(!) と共に記述します」ではどうでしょうか?(in prose = 実際には、informal = 非公式)
ふぅ、レビュー終わりました。ご確認をお願いします。 この章は長い上に、用語と細かな規則が多いので、訳すのは大変だったと思います。 |
@tatsuya6502 レビューありがとうございます。修正いたしました。 |
ありがとうございます。修正内容を確認しました。マージします。 お疲れさまでした! |
No description provided.