Skip to content

Conversation

@Ryota-Kurokawa
Copy link
Contributor

Closes #618

Copy link
Owner

@stzn stzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございますー!とても助かりますmm
一点細かい点をコメントしましたが、ほぼLGTMです!

あと、ファイルの先頭に「最終更新日」という項目があるので、そちらも更新していただけるとうれしいです!

### mutating メソッド内からselfへの値の割り当て\(Assigning to self Within a Mutating Method\)

メソッドを変更すると、まったく新しいインスタンスを暗黙的な `self` プロパティに割り当てることができます。上記の `Point` の例は、代わりに次のように記述できます:
`mutating` なメソッドは、まったく新しいインスタンスを暗黙的な `self` プロパティに割り当てることができます。上記の `Point` の例は、代わりに次のように記述できます:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このセクションのタイトルと合わせて「な」はなくてもよいかなと思いました。

Suggested change
`mutating` なメソッドは、まったく新しいインスタンスを暗黙的な `self` プロパティに割り当てることができます。上記の `Point` の例は、代わりに次のように記述できます:
`mutating` メソッドは、まったく新しいインスタンスを暗黙的な `self` プロパティに割り当てることができます。上記の `Point` の例は、代わりに次のように記述できます:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます!

@Ryota-Kurokawa
Copy link
Contributor Author

修正完了しました!

Copy link
Owner

@stzn stzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMです!ありがとうございますー!

@stzn stzn merged commit 8cbab2b into stzn:master Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

翻訳不備等の修正

2 participants