Skip to content

Commit 0cd7700

Browse files
authored
revise a bit (#48)
1 parent 4b4f770 commit 0cd7700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subtyping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ error[E0308]: mismatched types
3535
| expected `&'static str`, found struct `&'world str`
3636
```
3737

38-
这是相当不幸的。在这种情况下,我们希望接受的类型的生命周期至少要和 `'world` 一样长
38+
这是相当不幸的。在这种情况下,我们希望接受生命周期至少与 `'world` 一样长的任何类型
3939
让我们尝试使用生命周期进行子类型化。
4040

4141
## 子类型化

0 commit comments

Comments
 (0)