Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommonProblemsの修正 #45

Merged
merged 15 commits into from
Aug 18, 2024
1 change: 0 additions & 1 deletion Guide.docc/CommonProblems.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ func updateStyle(backgroundColor: ColorComponents) async {
```

`Sendable` への準拠は型の公開APIの取り決めの一部であり、定義するかどうかは自分次第です。
Because `ColorComponents` is marked `public`, it will not implicitly conform to `Sendable`.
narumij marked this conversation as resolved.
Show resolved Hide resolved
`ColorComponents` には `public` がついているため、 `Sendable` への暗黙的な準拠を行ないません。
これは次のようなエラーになります:

Expand Down