Skip to content

Commit 7c1e317

Browse files
committed
fixes respecting review
1 parent e782adf commit 7c1e317

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

1.9/ja/book/concurrency.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,9 @@ Rustはこれが安全でないだろうと知っているのです!
273273
<!-- that provides shared ownership. It has some runtime bookkeeping that keeps track -->
274274
<!-- of the number of references to it, hence the "reference count" part of its name. -->
275275
そのため、1つの値に対して2つ以上の所有権を持った参照を持てるような型が必要です。
276-
通常、この用途には `Rc<T>` を使います。これは所有権の共有を提供するリファレンスカウントの型です。
277-
実行時にある程度の管理コストを払って、値への参照の数をカウントします。なのでリファレンスカウントなのです。
276+
通常、この用途には `Rc<T>` を使います。これは所有権の共有を提供する参照カウントの型です。
277+
実行時にある程度の管理コストを払って、値への参照の数をカウントします。
278+
なので名前に参照カウント(reference count) が付いているのです。
278279

279280
<!-- Calling `clone()` on an `Rc<T>` will return a new owned reference and bump the -->
280281
<!-- internal reference count. We create one of these for each thread: -->
@@ -334,7 +335,7 @@ fn main() {
334335

335336
<!-- In essence, `Arc<T>` is a type that lets us share ownership of data _across -->
336337
<!-- threads_. -->
337-
要点は `Arc<T>`_スレッド間_ で所有権を共有可能にする方ということです
338+
要点は `Arc<T>`_スレッド間_ で所有権を共有可能にする型ということです
338339

339340
```ignore
340341
use std::thread;

0 commit comments

Comments
 (0)