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 96b3b7d commit e40136fCopy full SHA for e40136f
src/subtyping.md
@@ -142,9 +142,12 @@ Some important variances:
142
* `UnsafeCell<T>`、`Cell<T>`、`RefCell<T>`、`Mutex<T>` や他の内部可変性型は `T` において
143
非変性です( `*mut T` も同じということがわかるでしょう)
144
145
+<!--
146
To understand why these variances are correct and desirable, we will consider
147
several examples.
148
+-->
149
150
+これらの変性がなぜ正しくそして望ましいかを理解するために、いくつかの例を考えましょう。
151
152
We have already covered why `&'a T` should be variant over `'a` when
153
introducing subtyping: it's desirable to be able to pass longer-lived things
0 commit comments