EOSIO / welcome

Documentation that covers EOSIO Overview, Getting Started and Protocol documents
38 stars 54 forks source link

[docs] Three sample code snippets in section "Create the Contract" are the same #351

Closed bogniq closed 3 years ago

bogniq commented 3 years ago
File: [docs/02_getting-started/03_smart-contract-development/01_hello-world.md](https://github.com/EOSIO/welcome/blob/develop/docs/02_getting-started/03_smart-contract-development/01_hello-world.md) In section "Create the Contract", the last 3 sample code snippets for the **hello** contract are exactly the same (as below). Maybe this section can highlight the differences between these snippets and remove the redundant ones. ``` #include using namespace eosio; class [[eosio::contract]] hello : public contract { public: using contract::contract; [[eosio::action]] void hi( name user ) { print( "Hello, ", user); } }; ```
iamveritas commented 3 years ago

this has been fixed https://developers.eos.io/welcome/latest/smart-contract-guides/hello-world/#create-the-contract https://developers.eos.io/welcome/v2.1/getting-started-guide/hello-world/#create-the-contract