diff --git a/doc/md/writing-motoko/recursive-types.md b/doc/md/writing-motoko/recursive-types.md index bac0c0719d4..e291a144f41 100644 --- a/doc/md/writing-motoko/recursive-types.md +++ b/doc/md/writing-motoko/recursive-types.md @@ -10,7 +10,7 @@ A recursive type are types that contain the values of the same type. Recursive t Motoko supports linked lists, one data structure that implements recursive types. -## Recursive lists +## Recursive types ``` motoko no-repl type List = ?(T, List); @@ -40,4 +40,4 @@ In this switch statement, the `last` function is used recursively, since it i ## Resources -- [Recursive types](https://github.com/Web3NL/motoko-book/blob/main/src/advanced-types/recursive-types.md). \ No newline at end of file +- [Recursive types](https://github.com/Web3NL/motoko-book/blob/main/src/advanced-types/recursive-types.md).