We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 443a2ac + 06302cb commit 3d9bc76Copy full SHA for 3d9bc76
src/doc/book/closures.md
@@ -340,7 +340,7 @@ fn call_with_ref<'a, F>(some_closure:F) -> i32
340
where F: Fn(&'a i32) -> i32 {
341
```
342
343
-However this presents a problem with in our case. When you specify the explicit
+However this presents a problem in our case. When you specify the explicit
344
lifetime on a function it binds that lifetime to the *entire* scope of the function
345
instead of just the invocation scope of our closure. This means that the borrow checker
346
will see a mutable reference in the same lifetime as our immutable reference and fail
0 commit comments