Remove FIXME on ExtCtxt::fn_decl()

This commit is contained in:
Yuki Okushi 2022-05-28 18:12:34 +09:00
parent ed76b773b5
commit 643c508e86
No known key found for this signature in database
GPG Key ID: 379CEEFDD63E5DD7

View File

@ -514,7 +514,7 @@ pub fn param(&self, span: Span, ident: Ident, ty: P<ast::Ty>) -> ast::Param {
}
}
// 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 })
}