Skip to content

Commit 2f3f226

Browse files
committed
Fix minor typos
1 parent ab3d478 commit 2f3f226

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/indexing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Obtain a node from a tree by indexing each level of the tree with the elements o
77
This function is defined for all trees regardless of whether they have the [`IndexedChildren`](@ref).
88
This is because a tree without [`IndexedChildren`](@ref) might have special cases in which all children
99
are indexable, a prominent example being `Array` which may not have indexable sub-trees (e.g. an
10-
array contianing a Dict) but there are common special cases in which array trees are fully indexable
10+
array containing a Dict) but there are common special cases in which array trees are fully indexable
1111
(e.g. a tree in which every non-leaf node is an array).
1212
1313
The elements of `idx` can be any argument to `getindex`, not necessarily integers. For example,

src/traits.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ struct IndexedChildren <: ChildIndexing end
117117
NonIndexedChildren <: ChildIndexing
118118
119119
Indicates that the object returned by `children(n)` where `n` is a tree node is not necessarily indexable.
120-
This trait applies to any tree which cannot guarantee indexable children in all cases, ragardless of whether
120+
This trait applies to any tree which cannot guarantee indexable children in all cases, regardless of whether
121121
the tree is indexable in special cases. For example, `Array` has this trait even though there is a large
122122
class of indexable trees consisting of arrays.
123123
"""

0 commit comments

Comments
 (0)