Skip to content

Commit 0d5f884

Browse files
authored
Merge pull request #448 from guqicun/master
chore: fix typo
2 parents 4993547 + 8d96cc0 commit 0d5f884

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
@@ -268,7 +268,7 @@ To see why `fn(T) -> U` should be covariant over `U`, consider the following sig
268268
fn get_str() -> &'a str;
269269
```
270270

271-
This function claims to produce a `str` bound by some liftime `'a`. As such, it is perfectly valid to
271+
This function claims to produce a `str` bound by some lifetime `'a`. As such, it is perfectly valid to
272272
provide a function with the following signature instead:
273273

274274
<!-- ignore: simplified code -->

0 commit comments

Comments
 (0)