Skip to content

Commit 38a3ce5

Browse files
PallHaraldssonaplavin
authored andcommitted
Update index.md
1 parent 20f30e0 commit 38a3ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The package was largely inspired by the `Columns` type in [IndexedTables](https:
88

99
## Collection and initialization
1010

11-
One can create a `StructArray` by providing the `struct` type and a `tuple` or `NamedTuple` of field arrays:
11+
One can create a `StructArray` by providing the `struct` type and a `Tuple` or `NamedTuple` of field arrays:
1212
```@repl intro
1313
using StructArrays
1414
struct Foo{T}
@@ -25,7 +25,7 @@ You can also initialize a `StructArray` by passing in a `NamedTuple`, in which c
2525
x = Array{Foo}((b = adata, a = bdata)) # initialize a with bdata and vice versa
2626
```
2727

28-
If a `struct` is not specified, a `StructArray` with `tuple `or `NamedTuple` elements will be created:
28+
If a `struct` is not specified, a `StructArray` with `Tuple `or `NamedTuple` elements will be created:
2929
```@repl intro
3030
x = StructArray((adata, bdata))
3131
x = StructArray((a = adata, b = bdata))

0 commit comments

Comments
 (0)