Remove FIXME on ExtCtxt::fn_decl()
This commit is contained in:
parent
ed76b773b5
commit
643c508e86
@ -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 })
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user