Skip to content

Commit ceb9567

Browse files
authored
Merge pull request #10310 from andreashasse/minor-fix-in-docs-doc
Minor fix in the documentation of documentation
2 parents 3d8db7b + 395995f commit ceb9567

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

system/doc/reference_manual/documentation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,11 @@ Adds two numbers.
191191
### Example:
192192

193193
```
194-
1> arith:add(arith:number(1), arith:number(2)). {number, 3}
194+
1> arith:add(arith:number(1), arith:number(2)). {arith, 3}
195195
```
196196
""".
197197
-spec add(number(), number()) -> number().
198-
add({number, One}, {number, Two}) -> {number, One + Two}.
198+
add({arith, One}, {arith, Two}) -> {arith, One + Two}.
199199
````
200200

201201
### Doc metadata
@@ -256,10 +256,10 @@ For types or callbacks, the signature is derived from the type or callback
256256
specification. For example:
257257

258258
```erlang
259-
-type number(Value) :: {number, Value}.
259+
-type number(Value) :: {arith, Value}.
260260
%% signature will be `number(Value)`
261261

262-
-opaque number() :: {number, number()}.
262+
-opaque number() :: {arith, number()}.
263263
%% signature will be `number()`
264264

265265
-callback increment(In :: number()) -> Out.

0 commit comments

Comments
 (0)