Skip to content

Commit e40136f

Browse files
committed
Translate a paragraph
1 parent 96b3b7d commit e40136f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/subtyping.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,12 @@ Some important variances:
142142
* `UnsafeCell<T>``Cell<T>``RefCell<T>``Mutex<T>` や他の内部可変性型は `T` において
143143
非変性です( `*mut T` も同じということがわかるでしょう)
144144

145+
<!--
145146
To understand why these variances are correct and desirable, we will consider
146147
several examples.
148+
-->
147149

150+
これらの変性がなぜ正しくそして望ましいかを理解するために、いくつかの例を考えましょう。
148151

149152
We have already covered why `&'a T` should be variant over `'a` when
150153
introducing subtyping: it's desirable to be able to pass longer-lived things

0 commit comments

Comments
 (0)