File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -225,17 +225,17 @@ Rustでは未初期化の値を使うことは許されていません。
225
225
<!-- want `x` to be the value we’re interpolating. The comma is used to separate -->
226
226
<!-- arguments we pass to functions and macros, if you’re passing more than one. -->
227
227
表示する文字列に2つの波括弧(` {} ` 、口髭という人もいます…(訳注: 海外の顔文字は横になっているので首を傾けて ` { ` を眺めてみてください。また、日本語だと「中括弧」と呼ぶ人もいますね))を入れました。
228
- Rustはこれを何かの値を入れて (interpolate、インターポーレート)くれという要求だと解釈します 。
229
- * 文字列インターポーレーション * (String interpolation)はコンピュータサイエンスの用語で、「文字列の中に差し込む 」という意味です。
230
- その後に続けてカンマ、そして ` x ` を置いて ` x ` がインターポーレートしようとしている値だと指示しています 。
228
+ Rustはこれを、何かの値で補完 (interpolate)してほしいのだと解釈します 。
229
+ * 文字列補完 * (string interpolation)はコンピュータサイエンスの用語で、「文字列の間に差し込む 」という意味です。
230
+ その後に続けてカンマ、そして ` x ` を置いて、 ` x ` が補完に使う値だと指示しています 。
231
231
カンマは2つ以上の引数を関数やマクロに渡す時に使われます。
232
232
233
233
<!-- When you use the curly braces, Rust will attempt to display the value in a -->
234
234
<!-- meaningful way by checking out its type. If you want to specify the format in a -->
235
235
<!-- more detailed manner, there are a [wide number of options available][format]. -->
236
236
<!-- For now, we'll stick to the default: integers aren't very complicated to -->
237
237
<!-- print. -->
238
- 波括弧を使うと、Rustはインターポーレートされる値の型を調べて意味のある方法で表示しようとします 。
238
+ 波括弧を使うと、Rustは補完に使う値の型を調べて意味のある方法で表示しようとします 。
239
239
フォーマットをさらに詳しく指定したいなら[ 数多くのオプションが利用できます] [ format ] 。
240
240
とりあえずのところ、デフォルトに従いましょう。整数の表示はそれほど複雑ではありません。
241
241
Original file line number Diff line number Diff line change 101
101
| interior | 内側の
102
102
| install | インストール
103
103
| installer | インストーラ
104
- | interpolate | インターポーレートする
105
- | interpolation | インターポーレーション
104
+ | interpolate | 補完する
105
+ | (string) interpolation | (文字列)補完
106
106
| Intrinsics | Intrinsic
107
107
| key | キー
108
108
| keyword | キーワード
You can’t perform that action at this time.
0 commit comments