diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2024-12-18 07:54:42 +0200 |
|---|---|---|
| committer | Tshepang Mbambo <tshepang@gmail.com> | 2024-12-18 07:56:30 +0200 |
| commit | 95782ede0280a13ef405969d8222f2a82d02f883 (patch) | |
| tree | 40be9db93be2ea1d2a17adcb77a3da6587019a46 | |
| parent | 8d14c44429e263795ef2d465e238c49102029e38 (diff) | |
| download | rust-95782ede0280a13ef405969d8222f2a82d02f883.tar.gz rust-95782ede0280a13ef405969d8222f2a82d02f883.zip | |
typo, pause
| -rw-r--r-- | src/doc/rustc-dev-guide/src/borrow_check/opaque-types-region-inference-restrictions.md | 2 |
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. |
