Skip to content

Commit 9fce337

Browse files
authored
Merge pull request #1231 from jonas-schievink/remove-ancient-scrolls
Remove outdated restriction on recursive types
2 parents 58e0f34 + b5596cb commit 9fce337

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/types.md

-3
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ itself. Such recursion has restrictions:
104104
Rec = &'static [Rec]` is not allowed.
105105
* The size of a recursive type must be finite; in other words the recursive
106106
fields of the type must be [pointer types].
107-
* Recursive type definitions can cross module boundaries, but not module
108-
*visibility* boundaries, or crate boundaries (in order to simplify the module
109-
system and type checker).
110107

111108
An example of a *recursive* type and its use:
112109

0 commit comments

Comments
 (0)