Skip to content

Commit 5f7e96d

Browse files
committed
Translate a paragraph
1 parent 7689080 commit 5f7e96d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dropck.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,13 @@ of the contents of any type that implements Drop.
7777
それゆえに、コンパイラは Drop を実装しているいかなる型の内容の、実際の
7878
デストラクションの順番を十分に推論できないのです。
7979

80+
<!--
8081
So why do we care? We care because if the type system isn't careful, it could
8182
accidentally make dangling pointers. Consider the following simple program:
83+
-->
84+
85+
ではなぜこれを気にするのでしょうか? 型システムが丁寧でない場合、誤ってダングリングポインタを
86+
生成しうるからです。次の単純なプログラムを考えてみましょう。
8287

8388
```rust
8489
struct Inspector<'a>(&'a u8);

0 commit comments

Comments
 (0)