Skip to content

Commit 18bb912

Browse files
committed
Remove wrong comment.
1 parent becfe5c commit 18bb912

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustc_interface/queries.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,6 @@ impl Linker {
316316
}
317317

318318
impl Compiler {
319-
// This method is different to all the other methods in `Compiler` because
320-
// it lacks a `Queries` entry. It's also not currently used. It does serve
321-
// as an example of how `Compiler` can be used, with additional steps added
322-
// between some passes. And see `rustc_driver::run_compiler` for a more
323-
// complex example.
324319
pub fn enter<'c, F, T>(&'c self, f: F) -> Result<T>
325320
where F: FnOnce(Queries<'c>) -> Result<T>
326321
{

0 commit comments

Comments
 (0)