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 38bbb67 commit a157fbfCopy full SHA for a157fbf
src/send-and-sync.md
@@ -132,9 +132,15 @@ impl !Send for SpecialThreadToken {}
132
impl !Sync for SpecialThreadToken {}
133
```
134
135
+<!--
136
Note that *in and of itself* it is impossible to incorrectly derive Send and
137
Sync. Only types that are ascribed special meaning by other unsafe code can
138
possible cause trouble by being incorrectly Send or Sync.
139
+-->
140
+
141
+*それ自体では* Send や Sync を不正に継承してしまうことはありえないということに注意
142
+してください。他のアンセーフなコードによって特別な意味を持ってしまった型のみが、
143
+不正な Send や Sync によって問題を引き起こしてしまう可能性があります。
144
145
Most uses of raw pointers should be encapsulated behind a sufficient abstraction
146
that Send and Sync can be derived. For instance all of Rust's standard
0 commit comments