Skip to content
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

Merged
merged 3 commits into from
Jun 26, 2018
Merged

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Jun 14, 2018

Copy link
Member

@mark-i-m mark-i-m left a 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.

@@ -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`.)
Copy link
Member

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:
Copy link
Member

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)?

@mark-i-m
Copy link
Member

Ping @eddyb

@eddyb
Copy link
Member Author

eddyb commented Jun 25, 2018

Somehow I didn't get notified on this, weird! (or I dismissed it thinking it was the rust-lang/rust PR)

@eddyb
Copy link
Member Author

eddyb commented Jun 25, 2018

@mark-i-m Updated.

@mark-i-m
Copy link
Member

Thanks! I will take a look tomorrow.

Copy link
Member

@mark-i-m mark-i-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mark-i-m mark-i-m merged commit 7bf9416 into rust-lang:master Jun 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants