Skip to content

Commit 1b93db7

Browse files
committed
doc: improve explanation of interfaces
1 parent a5a65ee commit 1b93db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/contracts/interfaces.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Interfaces are similar to abstract contracts, but they cannot have any functions
1010
There are further restrictions:
1111

1212
- They cannot inherit from other contracts, but they can inherit from other interfaces.
13-
- All declared functions must be external.
13+
- All declared functions must be external in the interface, even if they are public in the contract.
1414
- They cannot declare a constructor.
1515
- They cannot declare state variables.
1616
- They cannot declare modifiers.

0 commit comments

Comments
 (0)