about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-28 18:12:34 +0900
committerYuki Okushi <jtitor@2k36.org>2022-05-28 18:12:34 +0900
commit643c508e869c1bed9ebd694ad4d2eb0cdf6baf24 (patch)
treebaf404ad5801060b7f76cee3d7ddb628781c0e4d
parented76b773b57cf0aa48ec4e2fc6d6a3f7a9079491 (diff)
downloadrust-643c508e869c1bed9ebd694ad4d2eb0cdf6baf24.tar.gz
rust-643c508e869c1bed9ebd694ad4d2eb0cdf6baf24.zip
Remove FIXME on `ExtCtxt::fn_decl()`
-rw-r--r--compiler/rustc_expand/src/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/build.rs b/compiler/rustc_expand/src/build.rs
index 301c67f7026..56d0263269b 100644
--- a/compiler/rustc_expand/src/build.rs
+++ b/compiler/rustc_expand/src/build.rs
@@ -514,7 +514,7 @@ impl<'a> ExtCtxt<'a> {
         }
     }
 
-    // FIXME: unused `self`
+    // `self` is unused but keep it as method for the convenience use.
     pub fn fn_decl(&self, inputs: Vec<ast::Param>, output: ast::FnRetTy) -> P<ast::FnDecl> {
         P(ast::FnDecl { inputs, output })
     }