We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffcc629 commit 196ef69Copy full SHA for 196ef69
src/closure.md
@@ -115,7 +115,7 @@ Let's start with defining a term that we will be using quite a bit in the rest o
115
*upvar*. An **upvar** is a variable that is local to the function where the closure is defined. So,
116
in the above examples, **x** will be an upvar to the closure. They are also sometimes referred to as
117
the *free variables* meaning they are not bound to the context of the closure.
118
-[`compiler/rustc_middle/src/ty/query/mod.rs`][upvars] defines a query called *upv.rs_mentioned*
+[`compiler/rustc_middle/src/ty/query/mod.rs`][upvars] defines a query called *upvars_mentioned*
119
for this purpose.
120
121
[upvars]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_query_impl/queries/struct.upvars_mentioned.html
0 commit comments