Commit dd1d8d5
docs/stdlib/data: improved wording describing example that is shape-like
The RGBLayout class itself is not shapelike, only instances of this class
are shape-like. (i.e. `Shape.cast(RGBLayout)` would fail)
It's worth being precise especially because in some cases the classes
themselves are shape-like, for example in the case of Enums, the classes
that inherit from Enum are shape-like.1 parent 69faf77 commit dd1d8d5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments