Skip to content

Commit ad0b6ce

Browse files
committed
訳を微調整: データ → 値
1 parent 751e6c3 commit ad0b6ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/scope/lifetime/static_lifetime.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ As a reference lifetime `'static` indicates that the data pointed to by
3434
the reference lives for the entire lifetime of the running program.
3535
It can still be coerced to a shorter lifetime.
3636
-->
37-
参照のライフタイムが`'static`であることは、参照が指し示すデータがプログラムの実行中に渡って生き続けることを示します
37+
参照のライフタイムが`'static`であることは、参照が指し示す値がプログラムの実行中に渡って生き続けることを示します
3838
また、より短いライフタイムに圧縮することも可能です。
3939

4040
<!--
4141
There are two ways to make a variable with `'static` lifetime, and both
4242
are stored in the read-only memory of the binary:
4343
-->
4444
`'static`ライフタイムを持つ変数を作るには下記の2つ方法があります。
45-
どちらの場合も、データは読み取り専用のメモリ領域に格納されます
45+
どちらの場合も、値は読み取り専用のメモリ領域に格納されます
4646

4747
<!--
4848
* Make a constant with the `static` declaration.
@@ -116,7 +116,7 @@ It's important to understand this means that any owned data always passes
116116
a `'static` lifetime bound, but a reference to that owned data generally
117117
does not:
118118
-->
119-
次のポイントを押さえておきましょう。所有権のあるデータが`'static`ライフタイム境界をパスするとしても、そのデータへの参照が`'static`ライフタイム境界をパスするとは限りません。
119+
次のポイントを押さえておきましょう。所有権のある値が`'static`ライフタイム境界をパスするとしても、その値への参照が`'static`ライフタイム境界をパスするとは限りません。
120120

121121
```rust,editable,compile_fail
122122
use std::fmt::Debug;

0 commit comments

Comments
 (0)