Skip to content

Commit 3bc605f

Browse files
githubtomtomc42f
authored andcommitted
Fix setindex(!) docs typo (#718)
1 parent 98db703 commit 3bc605f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ appropriate method for `similar`,
196196

197197
You can easily create your own `StaticArray` type, by defining linear
198198
`getindex` (and optionally `setindex!` for mutable types --- see
199-
`setindex(::MArray, val, i)` in *MArray.jl* for an example of how to
199+
`setindex!(::MArray, val, i)` in *MArray.jl* for an example of how to
200200
achieve this through pointer manipulation). Your type should define a constructor
201201
that takes a tuple of the data (and mutable containers may want to define a
202202
default constructor).

0 commit comments

Comments
 (0)