-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc: rename ty::maps to ty::query. #157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I few minor nits. Then, r=me. Also I will wait for that PR to merge first.
src/high-level-overview.md
Outdated
@@ -85,7 +85,7 @@ input, running the type-checker, and so forth. This on-demand model | |||
permits us to do exciting things like only do the minimal amount of | |||
work needed to type-check a single function. It also helps with | |||
incremental compilation. (For details on defining queries, check out | |||
`src/librustc/ty/maps/README.md`.) | |||
`src/librustc/ty/query/README.md`.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually could you change this to a link to the queries/incr comp chapter?
src/query.md
Outdated
@@ -215,14 +215,14 @@ Well, defining a query takes place in two steps: | |||
|
|||
To specify the query name and arguments, you simply add an entry to | |||
the big macro invocation in | |||
[`src/librustc/ty/maps/mod.rs`][maps-mod]. This will probably have | |||
[`src/librustc/ty/query/mod.rs`][query-mod]. This will probably have | |||
changed by the time you read this README, but at present it looks | |||
something like: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please remove the last sentence (even though you didn't add it)?
Ping @eddyb |
Somehow I didn't get notified on this, weird! (or I dismissed it thinking it was the rust-lang/rust PR) |
@mark-i-m Updated. |
Thanks! I will take a look tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
For rust-lang/rust#51550.