Skip to content

Commit 3459121

Browse files
author
Tatsuya Kawnao
committed
generate
1 parent b8fea25 commit 3459121

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/1.6/book/references-and-borrowing.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ <h1 id='ルール' class='section-header'><a href='#ルール'>ルール</a></h1
543543
<h2 id='スコープの考え方' class='section-header'><a href='#スコープの考え方'>スコープの考え方</a></h2>
544544
<!-- Here’s the code: -->
545545

546-
<p>これがコードです</p>
546+
<p>このコードについて考えていきます</p>
547547

548548
<span class='rusttest'>fn main() {
549549
let mut x = 5;
@@ -577,7 +577,7 @@ <h2 id='スコープの考え方' class='section-header'><a href='#スコープ
577577

578578
<p>なぜなら、これはルールに違反しているからです。つまり、 <code>x</code> を指示する <code>&amp;mut T</code> を持つので、 <code>&amp;T</code> を作ることは許されないのです。
579579
どちらか1つです。
580-
メモはこの問題についての考え方のヒントを示します</p>
580+
note の部分はこの問題についての考え方のヒントを示します</p>
581581

582582
<pre><code class="language-text">note: previous borrow ends here
583583
fn main() {
@@ -661,7 +661,7 @@ <h2 id='スコープの考え方' class='section-header'><a href='#スコープ
661661

662662
<p>問題ありません。
663663
ミュータブルな借用はイミュータブルな借用を作る前にスコープから外れます。
664-
しかしスコープは借用がどれくらい存続するのかを考えるためのキーです</p>
664+
しかしスコープは借用がどれくらい存続するのか理解するための鍵となります</p>
665665

666666
<!-- ## Issues borrowing prevents -->
667667

0 commit comments

Comments
 (0)