]> git.lizzy.rs Git - rust.git/commitdiff
Update compiler/rustc_macros/src/query.rs
authorCamille Gillot <gillot.camille@gmail.com>
Wed, 14 Sep 2022 17:11:53 +0000 (19:11 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Sep 2022 17:11:53 +0000 (19:11 +0200)
compiler/rustc_macros/src/query.rs

index 505b2d62a79d377c9d4c0e76b729d7d5ecd6ad20..0536eed6bbf4952bf4a0397656c5ffab96803118 100644 (file)
@@ -383,7 +383,7 @@ pub fn rustc_queries(input: TokenStream) -> TokenStream {
         if let Some(remap_env_constness) = &modifiers.remap_env_constness {
             attributes.push(quote! { (#remap_env_constness) });
         }
-        // Pass on the const modifier
+        // Pass on the cache modifier
         if modifiers.cache.is_some() {
             attributes.push(quote! { (cache) });
         }