Update query.md
This commit is contained in:
parent
2d95ba915a
commit
ffc7fdf490
|
|
@ -215,9 +215,7 @@ Well, defining a query takes place in two steps:
|
||||||
|
|
||||||
To specify the query name and arguments, you simply add an entry to
|
To specify the query name and arguments, you simply add an entry to
|
||||||
the big macro invocation in
|
the big macro invocation in
|
||||||
[`src/librustc/ty/query/mod.rs`][query-mod]. This will probably have
|
[`src/librustc/ty/query/mod.rs`][query-mod], which looks something like:
|
||||||
changed by the time you read this README, but at present it looks
|
|
||||||
something like:
|
|
||||||
|
|
||||||
[query-mod]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/query/index.html
|
[query-mod]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/query/index.html
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue