Skip to content

Commit fa04bfc

Browse files
committed
Update EEP-59 to not allow multiple -doc entries
The implementation already works like this.
1 parent c523da5 commit fa04bfc

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

eeps/eep-0059.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,13 @@ is equivalent to:
9292
example() -> ok.
9393

9494
Listing multiple `-doc` attributes with string values for the same
95-
function should warn or error accordingly, unless the documentation
96-
is being set to hidden. For example, this is valid:
97-
98-
-doc "Example".
99-
-doc hidden.
100-
example() -> ok.
101-
102-
But this should warn/error:
95+
function should warn or error accordingly. The examples below should error:
10396

10497
-doc "Example".
10598
-doc "Updated example".
10699
example() -> ok.
107100

108-
This as well:
101+
<!-- split examples -->
109102

110103
-doc "Example".
111104
example(one) -> 1;

0 commit comments

Comments
 (0)