Skip to content

Commit 9737ddf

Browse files
xizheyinBoxyUwU
andauthored
Update src/query.md
Co-authored-by: Boxy <rust@boxyuwu.dev>
1 parent c5ca630 commit 9737ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Each of these provider structs is generated by the macros and contains function
137137
#### How are providers registered?
138138

139139
The `util::Provider` struct is filled in during compiler initialization, by the `rustc_interface` crate from the `DEFAULT_QUERY_PROVIDERS` static.
140-
But the actual provider functions are implemented in various `rustc_*` crates (like `rustc_middle`, `rustc_hir_analysis`, etc).
140+
The actual provider functions are defined across various `rustc_*` crates (like `rustc_middle`, `rustc_hir_analysis`, etc).
141141

142142
To register providers, each crate exposes a [`provide`][provide_fn] function that looks like this:
143143

0 commit comments

Comments
 (0)