From 643c508e869c1bed9ebd694ad4d2eb0cdf6baf24 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sat, 28 May 2022 18:12:34 +0900 Subject: [PATCH] Remove FIXME on `ExtCtxt::fn_decl()` --- compiler/rustc_expand/src/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ pub fn param(&self, span: Span, ident: Ident, ty: P) -> ast::Param { } } - // FIXME: unused `self` + // `self` is unused but keep it as method for the convenience use. pub fn fn_decl(&self, inputs: Vec, output: ast::FnRetTy) -> P { P(ast::FnDecl { inputs, output }) } -- 2.44.0