Skip to content

Edit "Queries" chapter #1301

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

Merged
merged 11 commits into from
Feb 17, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Edit query structs section
  • Loading branch information
pierwill committed Feb 17, 2022
commit 8523378d0fdf0115db5fee37c699faeeeba4814f
4 changes: 2 additions & 2 deletions src/query.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ So, to add a query:

#### Query structs and descriptions

For each kind, the `rustc_queries` macro will generate a "query struct"
For each query, the `rustc_queries` macro will generate a "query struct"
named after the query. This struct is a kind of a place-holder
describing the query. Each such struct implements the
describing the query. Each query struct implements the
[`self::config::QueryConfig`][QueryConfig] trait, which has associated types for the
key/value of that particular query. Basically the code generated looks something
like this:
Expand Down