mirror of https://github.com/rust-lang/rust.git
Remove FIXME on `ExtCtxt::fn_decl()`
This commit is contained in:
parent
ed76b773b5
commit
643c508e86
|
@ -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 })
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue