We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6012f4f commit b7b0ca1Copy full SHA for b7b0ca1
language-guide/methods.md
@@ -1,6 +1,6 @@
1
# メソッド \(Methods\)
2
3
-最終更新日: 2022/12/3
+最終更新日: 2025/04/11
4
原文: https://docs.swift.org/swift-book/LanguageGuide/Methods.html
5
6
インスタンスまたは型の一部である関数を定義して呼び出す。
@@ -123,7 +123,7 @@ fixedPoint.moveBy(x: 2.0, y: 3.0)
123
124
### mutating メソッド内からselfへの値の割り当て\(Assigning to self Within a Mutating Method\)
125
126
-`mutating` なメソッドは、まったく新しいインスタンスを暗黙的な `self` プロパティに割り当てることができます。上記の `Point` の例は、代わりに次のように記述できます:
+`mutating` メソッドは、まったく新しいインスタンスを暗黙的な `self` プロパティに割り当てることができます。上記の `Point` の例は、代わりに次のように記述できます:
127
128
```swift
129
struct Point {
0 commit comments