Skip to content

Commit

Permalink
Remove wrong comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Nov 25, 2019
1 parent becfe5c commit 18bb912
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/librustc_interface/queries.rs
Expand Up @@ -316,11 +316,6 @@ impl Linker {
}

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

0 comments on commit 18bb912

Please sign in to comment.