From 9e0d9abaa60646b6f8f99463e50566013545f477 Mon Sep 17 00:00:00 2001 From: ovi Date: Wed, 24 Mar 2021 15:31:09 +0200 Subject: [PATCH] [docs] 1.8.x Clean up [[eosio::action]] use for structs Clean up [[eosio::action]] use for structs --- .../08_abi/01_abi-code-generator-attributes-explained.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/05_best-practices/08_abi/01_abi-code-generator-attributes-explained.md b/docs/05_best-practices/08_abi/01_abi-code-generator-attributes-explained.md index b34ad827ce..f4931df137 100644 --- a/docs/05_best-practices/08_abi/01_abi-code-generator-attributes-explained.md +++ b/docs/05_best-practices/08_abi/01_abi-code-generator-attributes-explained.md @@ -6,7 +6,7 @@ link_text: ABI/Code generator attributes The new ABI generator tool uses C++11 or GNU style attributes to mark `actions` and `tables`. ## [[eosio::action]] -This attribute marks either a struct or a method as an action. +This attribute marks a method as an action. Example (four ways to declare an action for ABI generation): ```cpp // this is the C++11 and greater style attribute