about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/rustc-dev-guide/src/borrow_check/opaque-types-region-inference-restrictions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/borrow_check/opaque-types-region-inference-restrictions.md b/src/doc/rustc-dev-guide/src/borrow_check/opaque-types-region-inference-restrictions.md
index 4feca1be9ba..9877dfc61e9 100644
--- a/src/doc/rustc-dev-guide/src/borrow_check/opaque-types-region-inference-restrictions.md
+++ b/src/doc/rustc-dev-guide/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.