Skip to content

Commit 2b7608a

Browse files
committed
Fix typo
1 parent 9df2e70 commit 2b7608a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scope/move/partial_move.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ not be required as the definition of `age` would copy the data from
5656
-->
5757
この例では、`age`変数をヒープ上に保持し、部分的ムーブを説明しています。
5858
上記コードで`ref`を削除すると、`person.age`の所有権が`age`変数にムーブされるため、エラーになります。
59-
もしも`person.age`がスタック上に保持されていたら、
59+
もしも`Person.age`がスタック上に保持されていたら、
6060
`age`の定義が`person.age`をムーブすることなくデータをコピーするので、
6161
`ref`は必須ではないのですが、実際にはヒープ上に保持されているため`ref`は必須です。
6262

0 commit comments

Comments
 (0)