Skip to content

Commit b7b0ca1

Browse files
コメント箇所の修正
1 parent 6012f4f commit b7b0ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

language-guide/methods.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# メソッド \(Methods\)
22

3-
最終更新日: 2022/12/3
3+
最終更新日: 2025/04/11
44
原文: https://docs.swift.org/swift-book/LanguageGuide/Methods.html
55

66
インスタンスまたは型の一部である関数を定義して呼び出す。
@@ -123,7 +123,7 @@ fixedPoint.moveBy(x: 2.0, y: 3.0)
123123

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

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

128128
```swift
129129
struct Point {

0 commit comments

Comments
 (0)