From 1bf21e3beb0a23947a24778587d75f987ff6a290 Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Wed, 18 Dec 2024 07:54:42 +0200 Subject: [PATCH] typo, pause --- src/borrow_check/opaque-types-region-inference-restrictions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borrow_check/opaque-types-region-inference-restrictions.md b/src/borrow_check/opaque-types-region-inference-restrictions.md index 4feca1be9..9877dfc61 100644 --- a/src/borrow_check/opaque-types-region-inference-restrictions.md +++ b/src/borrow_check/opaque-types-region-inference-restrictions.md @@ -229,7 +229,7 @@ fn test::{closure#0}(_upvar: &'?8 str) -> Opaque<'?6, '?7> { // "hidden type captures lifetime that does not appear in bounds". ``` -Without this restrictions error messages are confusing and, more importantly, there is a risk that +Without these restrictions, error messages are confusing and, more importantly, there is a risk that we accept code that would likely break in the future because member constraints are super broken in closures.