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