File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ As a reference lifetime `'static` indicates that the data pointed to by
34
34
the reference lives for the entire lifetime of the running program.
35
35
It can still be coerced to a shorter lifetime.
36
36
-->
37
- 参照のライフタイムが` 'static ` であることは、参照が指し示すデータがプログラムの実行中に渡って生き続けることを示します 。
37
+ 参照のライフタイムが` 'static ` であることは、参照が指し示す値がプログラムの実行中に渡って生き続けることを示します 。
38
38
また、より短いライフタイムに圧縮することも可能です。
39
39
40
40
<!--
41
41
There are two ways to make a variable with `'static` lifetime, and both
42
42
are stored in the read-only memory of the binary:
43
43
-->
44
44
` 'static ` ライフタイムを持つ変数を作るには下記の2つ方法があります。
45
- どちらの場合も、データは読み取り専用のメモリ領域に格納されます 。
45
+ どちらの場合も、値は読み取り専用のメモリ領域に格納されます 。
46
46
47
47
<!--
48
48
* Make a constant with the `static` declaration.
@@ -116,7 +116,7 @@ It's important to understand this means that any owned data always passes
116
116
a `'static` lifetime bound, but a reference to that owned data generally
117
117
does not:
118
118
-->
119
- 次のポイントを押さえておきましょう。所有権のあるデータが ` 'static ` ライフタイム境界をパスするとしても、そのデータへの参照が ` 'static ` ライフタイム境界をパスするとは限りません。
119
+ 次のポイントを押さえておきましょう。所有権のある値が ` 'static ` ライフタイム境界をパスするとしても、その値への参照が ` 'static ` ライフタイム境界をパスするとは限りません。
120
120
121
121
``` rust,editable,compile_fail
122
122
use std::fmt::Debug;
You can’t perform that action at this time.
0 commit comments