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
1 changed files with 1 additions and 1 deletions

View File

@ -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 })
}