Skip to content

Commit e141408

Browse files
committed
Translate a list
1 parent bc966a4 commit e141408

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/subtyping.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,13 @@ in multiple fields.
403403
ジェネリックな引数 `A` を持つならば、 Foo の `A` における変性は `a` の変性と全く同じです。
404404
しかしながら、もし `A` が複数のフィールドで使用されている場合、これは複雑になります。
405405

406+
<!--
406407
* If all uses of A are variant, then Foo is variant over A
407408
* Otherwise, Foo is invariant over A
409+
-->
410+
411+
* もし A を使用しているすべてのものが変性である場合、 Foo は A において変性です
412+
* そうでなければ、 Foo は A において非変性です
408413

409414
```rust
410415
use std::cell::Cell;

0 commit comments

Comments
 (0)