AssocImplKind::{Method -> Fn}.

This commit is contained in:
Mazdak Farrokhzad 2019-12-08 00:13:59 +01:00
parent abf2e7aa95
commit e52f902a8a
16 changed files with 31 additions and 35 deletions

View file

@ -1634,8 +1634,7 @@ pub enum AssocItemKind {
Const(P<Ty>, Option<P<Expr>>),
/// An associated function.
/// FIXME(Centril): Rename to `Fn`.
Method(FnSig, Option<P<Block>>),
Fn(FnSig, Option<P<Block>>),
/// An associated type.
TyAlias(GenericBounds, Option<P<Ty>>),