chore: fix typo

Signed-off-by: guqicun <guqicun@outlook.com>
pull/448/head
guqicun 6 months ago
parent 4993547527
commit 8d96cc0685

@ -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 -->

Loading…
Cancel
Save