Skip to content

Commit

Permalink
Merge pull request #448 from guqicun/master
Browse files Browse the repository at this point in the history
chore: fix typo
  • Loading branch information
ehuss authored Apr 6, 2024
2 parents 4993547 + 8d96cc0 commit 0d5f884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subtyping.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ To see why `fn(T) -> U` should be covariant over `U`, consider the following sig
fn get_str() -> &'a str;
```

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

<!-- ignore: simplified code -->
Expand Down

0 comments on commit 0d5f884

Please sign in to comment.