We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04e1702 commit 8ee1ff5Copy full SHA for 8ee1ff5
src/type-inference.md
@@ -45,11 +45,9 @@ tcx.infer_ctxt().enter(|infcx| {
45
})
46
```
47
48
-Within the closure, `infcx` has the type `InferCtxt<'cx, 'tcx>` for some
49
-fresh `'cx`, while `'tcx` is the same as outside the inference context.
50
-(Again, see the [`ty` chapter][ty-ch] for more details on this setup.)
51
-
52
-[ty-ch]: ty.html
+Within the closure,
+`infcx` has the type `InferCtxt<'a, 'tcx>` for some fresh `'a`,
+while `'tcx` is the same as outside the inference context.
53
54
The `tcx.infer_ctxt` method actually returns a builder, which means
55
there are some kinds of configuration you can do before the `infcx` is
0 commit comments