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 4b4f770 commit 0cd7700Copy full SHA for 0cd7700
src/subtyping.md
@@ -35,7 +35,7 @@ error[E0308]: mismatched types
35
| expected `&'static str`, found struct `&'world str`
36
```
37
38
-这是相当不幸的。在这种情况下,我们希望接受的类型的生命周期至少要和 `'world` 一样长。
+这是相当不幸的。在这种情况下,我们希望接受生命周期至少与 `'world` 一样长的任何类型。
39
让我们尝试使用生命周期进行子类型化。
40
41
## 子类型化
0 commit comments