Skip to content

Commit 1d2b66c

Browse files
committed
Fix Translation.
1 parent fa7880f commit 1d2b66c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

1.6/ja/book/drop.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ impl Drop for HasDrop {
2121
fn main() {
2222
let x = HasDrop;
2323

24+
# // do stuff
2425
// いくつかの処理
2526

27+
# // } // x goes out of scope here
2628
} // x はここでスコープ外になります
2729
```
2830

@@ -35,7 +37,7 @@ fn main() {
3537
<!-- That’s it! The mechanics of `Drop` are very simple, but there are some -->
3638
<!-- subtleties. For example, values are dropped in the opposite order they are -->
3739
<!-- declared. Here’s another example: -->
38-
これだけです! `Drop` のメカニズムは非常にシンプルです、しかし少しだけ重要な点があります
40+
これだけです! `Drop` のメカニズムは非常にシンプルです、しかし少しだけ注意すべき点があります
3941
たとえば、値がドロップされる順序は、それらが定義された順序と反対の順序になります:
4042

4143
```rust
@@ -65,7 +67,7 @@ BOOM times 1!!!
6567

6668
<!-- The TNT goes off before the firecracker does, because it was declared -->
6769
<!-- afterwards. Last in, first out. -->
68-
TNTが爆竹が鳴る前に爆発してしまいました、これはTNTが定義されたのは爆竹よりも後だったことによります。
70+
TNTが爆竹(firecracker)が鳴る前に爆発してしまいました、これはTNTが定義されたのは爆竹よりも後だったことによります。
6971
ラストイン・ファーストアウトです。
7072

7173
<!-- So what is `Drop` good for? Generally, `Drop` is used to clean up any resources -->

0 commit comments

Comments
 (0)