Merge pull request #448 from guqicun/master

chore: fix typo
pull/450/head
Eric Huss 8 months ago committed by GitHub
commit 0d5f88475f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -268,7 +268,7 @@ To see why `fn(T) -> U` should be covariant over `U`, consider the following sig
fn get_str() -> &'a str; 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: provide a function with the following signature instead:
<!-- ignore: simplified code --> <!-- ignore: simplified code -->

Loading…
Cancel
Save