diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-08 00:13:59 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-12 18:05:05 +0100 |
| commit | e52f902a8ab3a1abbb200607db4766d95b27bc8e (patch) | |
| tree | b18f861d3bf0f8389c6f98dd3c1c38103d4ab81e /src/libsyntax/ast.rs | |
| parent | abf2e7aa959a4611bc2f607bc7e9200b8b81c089 (diff) | |
| download | rust-e52f902a8ab3a1abbb200607db4766d95b27bc8e.tar.gz rust-e52f902a8ab3a1abbb200607db4766d95b27bc8e.zip | |
`AssocImplKind::{Method -> Fn}`.
Diffstat (limited to 'src/libsyntax/ast.rs')
| -rw-r--r-- | src/libsyntax/ast.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 1b729ebaf43..f7f84333857 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -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>>), |
