Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/ch04-02-references-and-borrowing.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ order to give back ownership, since we never had ownership.
所有権をもらわないので、所有権を返す目的で値を返す必要はありません。

<!--
We call having references as function parameters *borrowing*. As in real life,
if a person owns something, you can borrow it from them. When you’re done, you
have to give it back.
We call the action of creating a reference *borrowing*. As in real life,
if a person owns something, you can borrow it from them. When you’re done, you
have to give it back. You don’t own it.
-->

関数の引数に参照を取ることを*借用*と呼びます。現実生活のように、誰かが何かを所有していたら、
参照を作成する行為を*借用*と呼びます。現実生活のように、誰かが何かを所有していたら、
それを借りることができます。用が済んだら、返さなきゃいけないわけです。

<!--
Expand Down