From 8d96cc06854f148f33ff7408fd9cead3f27c5f99 Mon Sep 17 00:00:00 2001 From: guqicun Date: Sat, 6 Apr 2024 18:20:19 +0800 Subject: [PATCH] chore: fix typo Signed-off-by: guqicun --- src/subtyping.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subtyping.md b/src/subtyping.md index 4c45b2d..f09fead 100644 --- a/src/subtyping.md +++ b/src/subtyping.md @@ -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: