Update docs/sophia_features.md

Co-authored-by: Radosław Rowicki <35342116+radrow@users.noreply.github.com>
This commit is contained in:
Gaith Hallak 2022-07-07 20:30:07 +04:00 committed by GitHub
parent 1514cb2949
commit 66f56a0eb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,10 +148,9 @@ contract interface Animal =
entrypoint sound() = "Cat sound"
```
Contract interfaces can extend other interfaces, the extended interface has to
declare all the entrypoints from the parent interface, and it can have
additional entrypoints added to it. All the declarations in the extended
interface must match (have the same type) with the declarations from the parent
Contract interfaces can extend other interfaces. An extended interface has to
declare all entrypoints from every parent interface. All the declarations in the extended
interface must have the same type as the declarations from the parent
interface.
```