File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ enlightening?
10
10
- [ Rust Koans] ( https://users.rust-lang.org/t/rust-koans/2408 )
11
11
- [ ` break rust; ` ] ( https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=0ab2bd6a9d722e0f05a95e2a5dcf89cc )
12
12
- [ The Nomicon Intro] ( https://doc.rust-lang.org/stable/nomicon/ )
13
- - [ ` rustc-ty ` renaming punfest] ( https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/rustc-ty.20naming.20bikeshed.20.2F.20punfest.20\( was .3A.20design.20meeting.202.2E.2E.2E/near/189906455 )
13
+ - [ ` rustc-ty ` renaming punfest] ( https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/rustc-ty.20naming.20bikeshed.20.2F.20punfest.20%28was .3A.20design.20meeting.202.2E.2E.2E/near/189906455 )
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ the *free variables* meaning they are not bound to the context of the closure.
118
118
[ ` compiler/rustc_middle/src/ty/query/mod.rs ` ] [ upvars ] defines a query called * upv.rs_mentioned*
119
119
for this purpose.
120
120
121
- [ upvars ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/query /queries/struct.upvars_mentioned.html
121
+ [ upvars ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_query_impl /queries/struct.upvars_mentioned.html
122
122
123
123
Other than lazy invocation, one other thing that distinguishes a closure from a
124
124
normal function is that it can use the upvars. It borrows these upvars from its surrounding
Original file line number Diff line number Diff line change 565
565
[ rif ] : http://internals.rust-lang.org
566
566
[ rr ] : https://doc.rust-lang.org/book/README.html
567
567
[ rustforge ] : https://forge.rust-lang.org/
568
- [ tlgba ] : http ://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/
568
+ [ tlgba ] : https ://tomlee.co/2014/04/a-more-detailed-tour-of-the-rust-compiler/
569
569
[ ro ] : https://www.rustaceans.org/
570
570
[ rctd ] : https://rustc-dev-guide.rust-lang.org/tests/intro.html
571
571
[ cheatsheet ] : https://bors.rust-lang.org/
You can’t perform that action at this time.
0 commit comments