Change "the same type" to "compatible types"
This commit is contained in:
parent
2dd461b2b0
commit
41c0609837
@ -138,7 +138,7 @@ contract must be pointed out with the `main` keyword as shown in the example.
|
||||
|
||||
Contracts can implement one or multiple interfaces, the contract has to define
|
||||
every entrypoint from the implemented interface and the entrypoints in both
|
||||
the contract and implemented interface should have the exact same type.
|
||||
the contract and implemented interface should have compatible types.
|
||||
|
||||
```
|
||||
contract interface Animal =
|
||||
|
Loading…
x
Reference in New Issue
Block a user