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 aabe55e commit 82ca6ddCopy full SHA for 82ca6dd
src/subtyping.md
@@ -303,9 +303,15 @@ cell 型の非変性は次のように見ることが出来ます。すなわち
303
なぜなら、 `&` を通して値を保存することも可能だからです。
304
したがって、ライフタイムをこっそり導入することがないよう、 cell は非変性でなければなりません。
305
306
+<!--
307
`Fn` is the most subtle case because it has mixed variance. To see why
308
`Fn(T) -> U` should be invariant over T, consider the following function
309
signature:
310
+-->
311
+
312
+`Fn` はまぜこぜの変性を持っているので、最も見分けのつかないケースです。
313
+なぜ `Fn(T) -> U` が T において非変性であるべきかを確認するために、
314
+次の関数シグネチャを考えてみましょう。
315
316
```rust,ignore
317
// 'a is derived from some parent scope
0 commit comments