[docs] Three sample code snippets in section "Create the Contract" are the same
bogniq opened this issue · 1 comments
bogniq commented
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 <eosio/eosio.hpp>
using namespace eosio;
class [[eosio::contract]] hello : public contract {
public:
using contract::contract;
[[eosio::action]]
void hi( name user ) {
print( "Hello, ", user);
}
};