Unverified Commit f260841a authored by tash-2s's avatar tash-2s Committed by GitHub
Browse files

[chores] Fix missing links on README (#911)

This change fixes links pointing to wrong lines of example codes on README. I updated these links to specify the same lines as originally intended.

At the time the links were specified, they intended to link these lines:
https://github.com/paritytech/ink/blob/c85cb7822c227f4b186e19225630846553cf28da/examples/trait-erc20/lib.rs#L49-L51
https://github.com/paritytech/ink/blob/c85cb7822c227f4b186e19225630846553cf28da/examples/erc20/lib.rs#L278-L280
parent 5514f436
Pipeline #156503 passed with stages
in 19 minutes and 17 seconds
......@@ -229,11 +229,11 @@ See [here](https://paritytech.github.io/ink/ink_lang/attr.contract.html) for a m
### Trait Definitions
Use `#[ink::trait_definition]` to define your very own trait definitions that are then implementable by ink! smart contracts.
See e.g. the [`examples/trait-erc20`](https://github.com/paritytech/ink/blob/master/examples/trait-erc20/lib.rs#L49-L51) contract on how to utilize it or [the documentation](https://paritytech.github.io/ink/ink_lang/attr.trait_definition.html) for details.
See e.g. the [`examples/trait-erc20`](https://github.com/paritytech/ink/blob/v3.0.0-rc5/examples/trait-erc20/lib.rs#L35-L37) contract on how to utilize it or [the documentation](https://paritytech.github.io/ink/ink_lang/attr.trait_definition.html) for details.
### Off-chain Testing
The `#[ink::test]` procedural macro enables off-chain testing. See e.g. the [`examples/erc20`](https://github.com/paritytech/ink/blob/master/examples/erc20/lib.rs#L278-L280) contract on how to utilize those or [the documentation](https://paritytech.github.io/ink/ink_lang/attr.test.html) for details.
The `#[ink::test]` procedural macro enables off-chain testing. See e.g. the [`examples/erc20`](https://github.com/paritytech/ink/blob/v3.0.0-rc5/examples/erc20/lib.rs#L248-L250) contract on how to utilize those or [the documentation](https://paritytech.github.io/ink/ink_lang/attr.test.html) for details.
## Developer Documentation
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment